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&...]