| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wles.blm.BLMManager
Manages access to the BLM server. This is the starting point for accessing all BLM functionality.
| Field Summary | |
| static java.lang.String | CREDENTIALS_DIRECTORYAuthentication credentials identifier for specifying the user's directory. | 
| static java.lang.String | CREDENTIALS_PASSWORDAuthentication credentials identifier for specifying the user's password. | 
| static java.lang.String | CREDENTIALS_USERNAMEAuthentication credentials identifier for specifying the user's name. | 
| Constructor Summary | |
| BLMManager(java.net.URL blmURL)Create a new BLM connection. | |
| Method Summary | |
|  BLMContextManager | createContext(java.util.Hashtable credentials)Creates BLMContextManager(BLM session) based on the supplied credentials. | 
|  BLMContextManager | createContext(java.util.Hashtable credentials,
              java.util.Hashtable appCtx)Creates BLMContextManager(BLM session) based on the supplied credentials and
 application context. | 
|  java.net.URL | getURL()Gets the URL used to connect to this BLMManager. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String CREDENTIALS_DIRECTORY
String containing an unqualified directory name. i.e. people rather then //dir/people.
public static final java.lang.String CREDENTIALS_PASSWORD
char[].
public static final java.lang.String CREDENTIALS_USERNAME
String containing an unqualified user name.  i.e. Bob rather then //user/dirName/Bob/.
| Constructor Detail | 
public BLMManager(java.net.URL blmURL)
           throws BadParameterException,
                  ServiceNotFoundException
blmURL - the URL of the BLM SOAP service| Method Detail | 
public BLMContextManager createContext(java.util.Hashtable credentials)
                                throws BLMDBException,
                                       BLMBadParameterException,
                                       BLMRuntimeException,
                                       BLMServiceBusyException
BLMContextManager (BLM session) based on the supplied credentials.
 Supported credential types include CREDENTIALS_USERNAME, CREDENTIALS_DIRECTORY, CREDENTIALS_PASSWORD.  Note these are not string literals, but rather static members of this
 class, i.e. BLMManager.CREDENTIALS_USERNAME not "CREDENTIALS_USERNAME"
 See the description of each credentials type of more information regarding credential formats.
 You must call BLMContextManager.destroyContext to terminate the session when finished.
credentials - Hashtable with authentication credentials.
BLMContextManager representing the authenticated user's BLM session.
BLMDBException
BLMBadParameterException
BLMRuntimeException
BLMServiceBusyExceptionBLMContextManager.destroyContext(), 
CREDENTIALS_USERNAME, 
CREDENTIALS_DIRECTORY, 
CREDENTIALS_PASSWORD
public BLMContextManager createContext(java.util.Hashtable credentials,
                                       java.util.Hashtable appCtx)
                                throws BLMDBException,
                                       BLMBadParameterException,
                                       BLMRuntimeException,
                                       BLMServiceBusyException
BLMContextManager (BLM session) based on the supplied credentials and
 application context.
 Supported credential types include CREDENTIALS_USERNAME, CREDENTIALS_DIRECTORY, CREDENTIALS_PASSWORD.  Note these are not string literals, but rather static members of this
 class, i.e. BLMManager.CREDENTIALS_USERNAME not "CREDENTIALS_USERNAME"
 See the description of each credentials type of more information regarding credential formats.
 You must call BLMContextManager.destroyContext to terminate the session when finished.
credentials - Hashtable with authentication credentials.appCtx - Hashtable of name=value pairs to be passed to auditing messages.
BLMContextManager representing the authenticated user's BLM session.
BLMDBException
BLMBadParameterException
BLMRuntimeException
BLMServiceBusyExceptionBLMContextManager.destroyContext(), 
CREDENTIALS_USERNAME, 
CREDENTIALS_DIRECTORY, 
CREDENTIALS_PASSWORDpublic java.net.URL getURL()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||