You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Christian Steinebach <Ch...@marintek.sintef.no> on 2013/02/17 23:30:41 UTC
user roles?
Hi!
How is ist possible to add user roles? I edited authentication_file.passwords
but it didn't do the trick. :-(
# list of users, and their password, and optionally roles^M
chris:pass:org.apache.isis.viewer.wicket.roles.USER|FORWARDER|CUSTOMER
sven:pass:org.apache.isis.viewer.wicket.roles.USER^M
dick:pass:org.apache.isis.viewer.wicket.roles.USER^M
bob:pass:org.apache.isis.viewer.wicket.roles.USER^M
joe:pass:org.apache.isis.viewer.wicket.roles.USER
Is there a way to add user roles?
Thanks in advance
Christian
RE: user roles?
Posted by Christian Steinebach <Ch...@marintek.sintef.no>.
Hi again,
made it happen. ;-) Added dependencies and changed to ...file...
Sorry, should have read the documentation better.
Christian
________________________________________
From: Christian Steinebach [Christian.Steinebach@marintek.sintef.no]
Sent: Monday, February 18, 2013 12:01 AM
To: users@isis.apache.org
Subject: RE: user roles?
Hi Dan!
I use the default isis.properties file (from the quickstart archetype)
There it is defined as
isis.authentication=bypass
Changing it to
isis.authentication=file
crashed the ui. Which file does isis want to use?
But the file seems to be read, because I could add a new user chris and
could login. But the roles are not added.
Christian
________________________________________
From: Dan Haywood [dan@haywood-associates.co.uk]
Sent: Sunday, February 17, 2013 11:44 PM
To: users
Subject: Re: user roles?
Which authentication component are you using? file, or shiro?
Sorry to be brief, sent from my phone
On Feb 17, 2013 10:31 PM, "Christian Steinebach" <
Christian.Steinebach@marintek.sintef.no> wrote:
> Hi!
>
> How is ist possible to add user roles? I edited
> authentication_file.passwords
> but it didn't do the trick. :-(
>
> # list of users, and their password, and optionally roles^M
> chris:pass:org.apache.isis.viewer.wicket.roles.USER|FORWARDER|CUSTOMER
> sven:pass:org.apache.isis.viewer.wicket.roles.USER^M
> dick:pass:org.apache.isis.viewer.wicket.roles.USER^M
> bob:pass:org.apache.isis.viewer.wicket.roles.USER^M
> joe:pass:org.apache.isis.viewer.wicket.roles.USER
>
> Is there a way to add user roles?
>
> Thanks in advance
> Christian
RE: user roles?
Posted by Christian Steinebach <Ch...@marintek.sintef.no>.
Hi Dan!
I use the default isis.properties file (from the quickstart archetype)
There it is defined as
isis.authentication=bypass
Changing it to
isis.authentication=file
crashed the ui. Which file does isis want to use?
But the file seems to be read, because I could add a new user chris and
could login. But the roles are not added.
Christian
________________________________________
From: Dan Haywood [dan@haywood-associates.co.uk]
Sent: Sunday, February 17, 2013 11:44 PM
To: users
Subject: Re: user roles?
Which authentication component are you using? file, or shiro?
Sorry to be brief, sent from my phone
On Feb 17, 2013 10:31 PM, "Christian Steinebach" <
Christian.Steinebach@marintek.sintef.no> wrote:
> Hi!
>
> How is ist possible to add user roles? I edited
> authentication_file.passwords
> but it didn't do the trick. :-(
>
> # list of users, and their password, and optionally roles^M
> chris:pass:org.apache.isis.viewer.wicket.roles.USER|FORWARDER|CUSTOMER
> sven:pass:org.apache.isis.viewer.wicket.roles.USER^M
> dick:pass:org.apache.isis.viewer.wicket.roles.USER^M
> bob:pass:org.apache.isis.viewer.wicket.roles.USER^M
> joe:pass:org.apache.isis.viewer.wicket.roles.USER
>
> Is there a way to add user roles?
>
> Thanks in advance
> Christian
Re: user roles?
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Which authentication component are you using? file, or shiro?
Sorry to be brief, sent from my phone
On Feb 17, 2013 10:31 PM, "Christian Steinebach" <
Christian.Steinebach@marintek.sintef.no> wrote:
> Hi!
>
> How is ist possible to add user roles? I edited
> authentication_file.passwords
> but it didn't do the trick. :-(
>
> # list of users, and their password, and optionally roles^M
> chris:pass:org.apache.isis.viewer.wicket.roles.USER|FORWARDER|CUSTOMER
> sven:pass:org.apache.isis.viewer.wicket.roles.USER^M
> dick:pass:org.apache.isis.viewer.wicket.roles.USER^M
> bob:pass:org.apache.isis.viewer.wicket.roles.USER^M
> joe:pass:org.apache.isis.viewer.wicket.roles.USER
>
> Is there a way to add user roles?
>
> Thanks in advance
> Christian