JBoss Community

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

created by Jason Greene in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community