This content has been marked as final.
Show 2 replies
-
1. Re: J2EE Client Authenticated but Subject has no Principals
starksm64 Oct 16, 2004 4:00 PM (in response to alanboshier)The content of the Subject depends on the login modules. The ClientLoginModule only started doing this as of jboss-3.2.4. Prior to that it only passed the security context to the internal thread local store.
-
2. Re: J2EE Client Authenticated but Subject has no Principals
michael_c_small Sep 16, 2005 2:09 PM (in response to alanboshier)The ClientLoginModule only started doing this as of jboss-3.2.4 ...
I'm using the ClientLoginModule along with a custom server login module. The sessionContext.getCallerPrincipal() returns the principal I set in the commit phase of my custom server login module, the client's loginContext.getSubject().getPrincipals(), however, does not show that principal. It only shows the SimplePrincipal with the name passed to the NameCallback. Is there a way to have the ClientLoginModule's Subject synchronized with the custom server login module's Subject.?