[jboss-dev-forums] [Design of Management Features on JBoss] - Re: EJBAccessException when trying to invoke methods on Prof
scott.stark@jboss.org
do-not-reply at jboss.com
Mon May 4 21:13:32 EDT 2009
the security domain is already defined in the deploy/profileservice-jboss-beans.xml:
| <!-- profileservice secureview application-policy definition -->
| <application-policy xmlns="urn:jboss:security-beans:1.0" name="profileservice">
| <authentication>
| <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
| <module-option name="unauthenticatedIdentity">nouser</module-option>
| <module-option name="usersProperties">profileservice-users.properties</module-option>
| <module-option name="rolesProperties">profileservice-roles.properties</module-option>
| </login-module>
| </authentication>
| </application-policy>
|
and this refers to the profileservice-*.properties found in the root of the profileservice-secured.jar deployment:
| [573][valkyrie: deploy]$ ls profileservice-secured.jar/
| META-INF profileservice-users.properties
| profileservice-roles.properties
|
Updating the users/roles there is what you need to do.
We probably should be reporting some kind of warning when two deployments are creating the same security domain.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228464#4228464
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228464
More information about the jboss-dev-forums
mailing list