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 [[email protected]]
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" <
[email protected]> 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