[jboss-dev-forums] [JBoss AS 7 Development] - Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default"
Michael Gronau
do-not-reply at jboss.com
Wed Mar 7 11:20:40 EST 2012
Michael Gronau [https://community.jboss.org/people/Michael_Gronau] created the discussion
"Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default""
To view the discussion, visit: https://community.jboss.org/message/722182#722182
--------------------------------------------------------------
Ok, here we go:
We have a custom login-module for the remoting connector and another custom LoginModule for EJB Security Domain:
| | <security-realm name="ApplicationRealm"> |
| | <authentication> |
| | <jaas name="jas-remote"/> |
| | </authentication> |
| | </security-realm> |
| | <security-domains> |
| | <security-domain name="jas-remote" cache-type="default"> |
| | <authentication> |
| | <login-module code="com.os.ee.security.jboss.JBoss7RemotingLoginModule" flag="optional"/> |
| | </authentication> |
| | </security-domain> |
| | <security-domain name="jas" cache-type="default"> |
| | <authentication> |
| | <login-module code="com.os.ee.security.jboss.JBoss7ServerLoginModule" flag="required"/> |
| | </authentication> |
| | </security-domain> |
The caching with the remote connection seems to work, i see authentication only once per connection. Only securityDomain 'jas' is called everytime.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722182#722182]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120307/b666c7ee/attachment.html
More information about the jboss-dev-forums
mailing list