JBoss Community

Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default"

created by jaikiran pai in JBoss AS 7 Development - View the full discussion

Robert Marcano wrote:

 

Michael Gronau wrote:

 

Hello Darran,

I've tried the current 7.1.2 build, but the problem still exists. Is it correct, that the caching only works, when I extend my login module from a Jboss specific login module (this is not suitable for our app so far.)?

Do your login module adds CallerPrincipal the way JBoss login modules require? I have another problem related to how caching works. If you are creating a Principal on your login module and not adding it to CallerPrincipal or your principal has a different name or class than an internal JBoss remoting principal instance (See RemotingLoginModule), then caching doesn't work as expected https://community.jboss.org/thread/201664

 

Are you sure the Principal class that you are using implements the equals() method correctly https://issues.jboss.org/browse/AS7-4689?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community