com.wles.blm
Class BLMContextManager

java.lang.Object
  extended bycom.wles.blm.BLMContextManager

public class BLMContextManager
extends java.lang.Object

Represents a single BLM session for a administrative user. Use the BLMManager class to obtain a reference to a BLMContextManager. To terminate the session call the destroyContext method.

See Also:
BLMManager

Method Summary
 void clearApplicationContext()
          Clear the application context.
 void destroyContext()
          Terminates this session to the BLM.
 BLMApplicationManager getApplicationManager()
          Obtains an instance of the BLMApplicationManager.
 BLMDeclarationManager getDeclarationManager()
          Obtains an instance of the BLMDeclarationManager.
 BLMDirectoryManager getDirectoryManager()
          Obtains an instance of the BLMDirectoryManager.
 BLMLocalSubjectGroupManager getLocalSubjectGroupManager()
          Obtains an instance of the BLMLocalSubjectGroupManager.
 BLMLocalUserManager getLocalUserManager()
          Obtains an instance of the BLMLocalUserManager.
 BLMPolicyDistributor getPolicyDistributor()
          Obtains an instance of the BLMPolicyDistributor.
 BLMPrivgrpManager getPrivgrpManager()
          Obtains an instance of the BLMPrivgrpManager.
 BLMPrivilegeManager getPrivilegeManager()
          Obtains an instance of the BLMPrivilegeManager.
 BLMRoleManager getRoleManager()
          Obtains an instance of the BLMRoleManager.
 BLMRuleManager getRuleManager()
          Obtains an instance of the BLMRuleManager.
 SCMManager getSCMManager()
          Returns the instance of the SCMConfigurationManager.
 SSMConfigurationManager getSSMConfigurationManager()
          Returns the instance of the BLMConfigurationManager.
 void setApplicationContext(java.util.Hashtable appCtx)
          Sets the application context in the BLM.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clearApplicationContext

public void clearApplicationContext()
                             throws BLMException
Clear the application context. Once cleared audit messages will generated from this Context Manager will not have application data associated with them.

Throws:
BLMException

destroyContext

public void destroyContext()
                    throws BLMException
Terminates this session to the BLM. The BLM server releases all the open collections and managers associated with this session.

Throws:
BLMException

getApplicationManager

public BLMApplicationManager getApplicationManager()
                                            throws BLMException
Obtains an instance of the BLMApplicationManager.

Returns:
a application manager
Throws:
BLMException

getDeclarationManager

public BLMDeclarationManager getDeclarationManager()
                                            throws BLMException
Obtains an instance of the BLMDeclarationManager.

Returns:
a declaration manager
Throws:
BLMException

getDirectoryManager

public BLMDirectoryManager getDirectoryManager()
                                        throws BLMException
Obtains an instance of the BLMDirectoryManager.

Returns:
a directory manager
Throws:
BLMException

getLocalSubjectGroupManager

public BLMLocalSubjectGroupManager getLocalSubjectGroupManager()
                                                        throws BLMException
Obtains an instance of the BLMLocalSubjectGroupManager.

Returns:
a subject group manager
Throws:
BLMException

getLocalUserManager

public BLMLocalUserManager getLocalUserManager()
                                        throws BLMException
Obtains an instance of the BLMLocalUserManager.

Returns:
a user manager
Throws:
BLMException

getPolicyDistributor

public BLMPolicyDistributor getPolicyDistributor()
                                          throws BLMException
Obtains an instance of the BLMPolicyDistributor.

Returns:
a policy distributor manager
Throws:
BLMException

getPrivgrpManager

public BLMPrivgrpManager getPrivgrpManager()
                                    throws BLMException
Obtains an instance of the BLMPrivgrpManager.

Returns:
a privilege group manager
Throws:
BLMException

getPrivilegeManager

public BLMPrivilegeManager getPrivilegeManager()
                                        throws BLMException
Obtains an instance of the BLMPrivilegeManager.

Returns:
a privilege manager
Throws:
BLMException

getRoleManager

public BLMRoleManager getRoleManager()
                              throws BLMException
Obtains an instance of the BLMRoleManager.

Returns:
a role manager
Throws:
BLMException

getRuleManager

public BLMRuleManager getRuleManager()
                              throws BLMException
Obtains an instance of the BLMRuleManager.

Returns:
a rule manager
Throws:
BLMException

getSCMManager

public SCMManager getSCMManager()
                         throws BLMException
Returns the instance of the SCMConfigurationManager.

Returns:
an SCM manager.
Throws:
BLMException

getSSMConfigurationManager

public SSMConfigurationManager getSSMConfigurationManager()
                                                   throws BLMException
Returns the instance of the BLMConfigurationManager.

Returns:
a configuration manager
Throws:
BLMException

setApplicationContext

public void setApplicationContext(java.util.Hashtable appCtx)
                           throws BLMException
Sets the application context in the BLM. Once set all subsequent BLM API calls that log to the audit service will add the application context to the audit messages.

Parameters:
appCtx - Hashtable of name=value pars
Throws:
BLMException


Copyright © 2005 BEA Systems Inc. All Rights Reserved.