[jboss-dev-forums] [JBoss AS 7 Development] - Re: remote ejb client username is encrypted at the server(JBOSS7.1 CR1)

Jason Greene do-not-reply at jboss.com
Fri Feb 24 10:44:52 EST 2012


Jason Greene [https://community.jboss.org/people/jason.greene] created the discussion

"Re: remote ejb client username is encrypted at the server(JBOSS7.1 CR1)"

To view the discussion, visit: https://community.jboss.org/message/719541#719541

--------------------------------------------------------------
> apparaonali wrote:
> 
> Thanks Darren and other for constant and quick support.
> I have one quick query.
> 
> Currently we are passing management realm user name and password in client ejb properties file.
> 
> *remote.connection.default.username=admin*
> *remote.connection.default.password=admin*
> 
> How can I pass user name and password (Above parameters) programatically?
> 
> 
> 
You set remote.connection.default.callback.handler.class to a class name in your project which implements  javax.security.auth.callback.CallbackHandler. Using this API you can obtain them on the fly from the user, or via some other means.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/719541#719541]

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/20120224/cbf276e5/attachment.html 


More information about the jboss-dev-forums mailing list