jingjing jiang [
https://community.jboss.org/people/jingjingjiang1986] created the
discussion
"Re: JBoss AS 7.1.1.Final custom login module for remoting and custom
principal"
To view the discussion, visit:
https://community.jboss.org/message/757977#757977
--------------------------------------------------------------
I encouter a problem like this, sessionContext.getCallerPrincipal() always returns a
SimplePrincipal instance, and its name is "anonymous", I expected that it would
return a customed principal which implements the interface Principal.
At client side, I implement a LoginModule, in the method commit(), add a my own customed
principal, then call the remote EJB.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/757977#757977]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]