[jboss-user] [JBoss Seam] - Re: ejb3/seam-gwt-remoting/gwt security integration
hartfordd
do-not-reply at jboss.com
Thu Dec 6 10:37:06 EST 2007
Authenticator.login approach, the following seems to work ok (once not-logged-inexception occurs, not the postAuthenticate as that event does not seem to be happening):
@In
public Identity identity;
@Resource
private javax.ejb.SessionContext webContext;
....
Principal caller = webContext.getCallerPrincipal();
System.out.println(caller.getName());
System.out.println(identity.getJaasConfigName());
But, all other identity.get*** methods are empty, while the Principal only contains the username but no other information.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110888#4110888
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110888
More information about the jboss-user
mailing list