|
|||||||||
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_DIRECTORY
Authentication credentials identifier for specifying the user's directory. |
static java.lang.String |
CREDENTIALS_PASSWORD
Authentication credentials identifier for specifying the user's password. |
static java.lang.String |
CREDENTIALS_USERNAME
Authentication credentials identifier for specifying the user's name. |
static java.lang.String |
TOKEN_NAME
Identity Assertion identifier for specifying the name of the token. |
static java.lang.String |
TOKEN_VALUE
Identity Assertion identifier for specifying the value of the token. |
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/.
public static final java.lang.String TOKEN_NAME
public static final java.lang.String TOKEN_VALUE
Constructor Detail |
public BLMManager(java.net.URL blmURL) throws BadParameterException, ServiceNotFoundException
blmURL
- the URL of the BLM SOAP serviceMethod Detail |
public BLMContextManager createContext(java.util.Hashtable credentials) throws com.wles.blm.BLMDBException, com.wles.blm.BLMBadParameterException, com.wles.blm.BLMRuntimeException, com.wles.blm.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.
com.wles.blm.BLMDBException
com.wles.blm.BLMBadParameterException
com.wles.blm.BLMRuntimeException
com.wles.blm.BLMServiceBusyException
BLMContextManager.destroyContext()
,
CREDENTIALS_USERNAME
,
CREDENTIALS_DIRECTORY
,
CREDENTIALS_PASSWORD
public BLMContextManager createContext(java.util.Hashtable credentials, java.util.Hashtable appCtx) throws com.wles.blm.BLMDBException, com.wles.blm.BLMBadParameterException, com.wles.blm.BLMRuntimeException, com.wles.blm.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.
com.wles.blm.BLMDBException
com.wles.blm.BLMBadParameterException
com.wles.blm.BLMRuntimeException
com.wles.blm.BLMServiceBusyException
BLMContextManager.destroyContext()
,
CREDENTIALS_USERNAME
,
CREDENTIALS_DIRECTORY
,
CREDENTIALS_PASSWORD
public java.net.URL getURL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |