[jboss-user] [Security & JAAS/JBoss] - Re: HTTP Status 403 - logging with another role causes error
do-not-reply at jboss.com
Thu Jan 10 12:05:52 EST 2008
First are you using the SimplePrincipal from Jboss or your own Principal Object ?
What is the role your are associating with your Principal object when you log in as Child ? My guess it it should be C ( as per your web.xml) .
If you are rolling out your ow authentication, i guess you would be subclassing the AbstractServerLoginModule. If Using your own Principal, subclass SimplePrincipal. In the AbstractServerLoginModule there is a method addRoles() i believe. Override it with your roles.
Maybe you can post the jaas login module code ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118753#4118753
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118753
More information about the jboss-user