[jboss-user] [Security & JAAS/JBoss] - Re: After Login standalone client -> getCallerPrincipal on
noFreak
do-not-reply at jboss.com
Fri Sep 5 06:49:44 EDT 2008
ok, i think i have fixed it...
on the client login module i have used the SecurityAssociationAction (like in tht ClientLoginModule) like this:
loginPrincipal = new SimplePrincipal("");
| SecurityAssociationActions.setPrincipalInfo(loginPrincipal, loginCredential, subject);
And than it's clear, that i get a "" for
getCallerPrincipal().getName()
Know i use it like this:
loginPrincipal = new SimplePrincipal(myCorrectPrincipal);
| SecurityAssociationActions.setPrincipalInfo(loginPrincipal, loginCredential, subject);
and it works :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174544#4174544
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174544
More information about the jboss-user
mailing list