-
1. Re: What I need to do to use my custom principal? Please. It
juzepeleteiro Mar 10, 2003 10:56 AM (in response to juzepeleteiro)Please! Anybody helps me!
-
2. Re: What I need to do to use my custom principal? Please. It
fortinj Mar 12, 2003 10:33 AM (in response to juzepeleteiro)I've got the exact same problem. I need to use my custom principal, but I get back 'org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal'
--John -
3. Re: What I need to do to use my custom principal? Please. It
fortinj Mar 12, 2003 12:26 PM (in response to juzepeleteiro)New Info:
I added output to JaasSecurityManager.java in order to determine if the "CallerPrincipal" group was working correctly. It is. At the end, info.callerPrincipal has the proper custom Principal in it.
However, request.getUserPrincipal() still returns 'org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal'
Not sure where to look next.
--John -
4. Re: What I need to do to use my custom principal? Please. It
fortinj Mar 12, 2003 12:34 PM (in response to juzepeleteiro)New Info:
I added output to JaasSecurityManager.java in order to determine if the "CallerPrincipal" group was working correctly. It is. At the end, info.callerPrincipal has the proper custom Principal in it.
However, request.getUserPrincipal() still returns 'org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal'
Not sure where to look next.
--John -
5. Re: What I need to do to use my custom principal? Please. It
fortinj Mar 12, 2003 2:00 PM (in response to juzepeleteiro)Group callerPrincipalGroup = new SimpleGroup("CallerPrincipal");
The seems to do the proper thing in JaasSecurityManager. I put debugging code in there and info.callerPrinciple does get set correctly. However, it seems to get lost with the request.getUserPrincipal call
Where is the hook between JaasSecurityManager and request.getUserPrincipal?
I am using JBoss 3.0.6 with Jetty.
--John Fortin