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.