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