Skip navigation links

Package com.sun.appserv.management.client.prefs

Contains classes and interfaces to edit information about login to a particular domain (especially admin user name and password)

See: Description

Package com.sun.appserv.management.client.prefs Description

Contains classes and interfaces to edit information about login to a particular domain (especially admin user name and password)

Following is the way to use the classes and interfaces in this package:
final LoginInfoStore lis = LoginInfoStoreFactory.getDefaultStore();
final LoginInfo li       = new LoginInfo("localhost", 4848, "admin", "admin123");

lis.store(li, true); //overwrites the login information for "localhost" and 4848

The default store for login information in the file ".asadminpass" in the user's home directory. The format of the file is as follows:

An example of stored login information would be:

asadmin://joe%20bloe@localhost:4848 TW9oYW1tYWQgQXNpZiB0byBLaGFu

This file is not supposed to be modified by hand.
Skip navigation links

Copyright © 2019. All rights reserved.