Creating your own roles should be fine. The JNDIPrincipalStore doesn't create the default roles and it works fine. Make sure if you remove the user role that you change any permissions that were assigned to that role in Domain.xml to another role that still exists.

-James

Stefan Fromm wrote:
Hello,

I want to create an own set of roles containing:

- administrator
- editor
- author

I want the "root"-user to be in role "administrator" and will have other users in the other roles. The problem is: as soon as I remove the "/roles/user" node from the Domain.xml I cannot authenticate as "root" anymore. I assume that there is a problem with the classes providing the roles like:

- slideroles.basic.UserRole and slideroles.basic.UserRoleImpl
- slideroles.basic.RootRole and slideroles.basic.RootRoleImpl

When I want to authenticate as user which is in role "editor" it doesn't work. I think I have to provide interfaces "xxxRole" and classes "xxxRoleImpl" for my roles. Is there anyone who can give me some hints if I'm right or wrong and hints on how to do it? I have some questions that are of interest for me:

Best regards
Stefan


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to