|
Java EE 5 SDK | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
LoginInfoStore | An interface that represents the database of LoginInfo objects. |
Class Summary | |
---|---|
LoginInfo | An immutable class that represents an arbitrary LoginInfo for Appserver Administration Client. |
LoginInfoStoreFactory | A factory class to create instances of LoginInfoStore. |
MemoryHashLoginInfoStore | A LoginInfoStore that reads the information from the default file ".asadminpass"
and stores it as a map in the memory. |
Exception Summary | |
---|---|
StoreException | An exception class to communicate the error in accessing or mutating the store. |
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:
asadmin://joe%20bloe@localhost:4848 TW9oYW1tYWQgQXNpZiB0byBLaGFu
This file is not supposed to be modified by hand.
|
Java EE 5 SDK | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.