[jboss-dev-forums] [JBoss AS 7 Development] - Re: ClientLoginModule support
Wolf-Dieter Fink
do-not-reply at jboss.com
Mon Aug 20 10:09:33 EDT 2012
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion
"Re: ClientLoginModule support"
To view the discussion, visit: https://community.jboss.org/message/754564#754564
--------------------------------------------------------------
Tarek,
at the moment the credentials are used to establish the connection and can not be changed for this. Also the connection is handled transparent (if you do not use the EjbClient API direct and handle it), it will be closed by GC (finalizer) if you remove all references.
The ejb-client (and the server) is optimized for such connections, instead of using multiple connections (AS4/5) only one connection is used and the requests go through the same connection.
Therefor the authentication and behaviour (e.g. threading) are different.
There is a possiblility to have more than one connection and select the connection/user from the app-code, I can provide an example if needed.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754564#754564]
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/20120820/a642b529/attachment.html
More information about the jboss-dev-forums
mailing list