|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wles.blm.SSMConfigurationManager
Manages all operations on SSM objects. In addition to creating and deleting SSM's, the SSMConfigurationManager will bind a resource to an SSM and create SSM provider configurations.
SSMProviderManager
,
SSMProviderTypes
Field Summary |
Fields inherited from interface com.wles.blm.SSMProviderTypes |
ADJUDICATION, AUDITING, AUTHENTICATION, AUTHORIZATION, CREDMAPPING, ROLEMAPPING |
Method Summary | |
void |
addResourceBinding(java.lang.String SSMName,
java.lang.String Resource)
Bind a resource to an SSM. |
void |
create(java.lang.String name)
Create a new unbound SSM object for configuration. |
SSMProviderManager |
createProviderConfiguration(java.lang.String SSM,
java.lang.String providername,
java.lang.String providerType,
java.lang.String mgmtinterface)
Create a new provider configuration for an SSM. |
java.lang.String |
filter(java.lang.String findPattern)
Find a set of SSM's based on a filter pattern. |
boolean |
find(java.lang.String cID,
java.lang.String name)
Checks that an SSM is in an SSM collection. |
java.lang.String |
getBoundResources(java.lang.String SSMName)
Find a set of resources bound to a given SSM. |
int |
getCount(java.lang.String cID)
Returns the size of the SSM collection. |
SSMProviderManager |
getProviderManager(java.lang.String SSM,
java.lang.String providername,
java.lang.String providerType)
Get a provider instance configuration object to modify an existing provider. |
SSMProviderManager[] |
getProviderReport(java.lang.String cID)
Returns a report on a Provider collection |
SSMProviderManager[] |
getProviderReport(java.lang.String cID,
int iStart,
int iCount)
Returns a subset of a provider collection |
java.lang.String |
getProviders(java.lang.String SSMName)
Find a set of providers based on an SSM's name. |
java.lang.String[] |
getReport(java.lang.String cID)
Returns a report on an SSM collection |
java.lang.String[] |
getReport(java.lang.String cID,
int iStart,
int iCount)
Returns a subset of an SSM collection |
java.lang.String |
getSCM(java.lang.String ssmName)
Returns the SCM to which the SSM is bound. |
void |
release(java.lang.String cID)
Releases an SSM collection. |
void |
releaseProviderReport(java.lang.String cID)
Releases a provider collection. |
void |
remove(java.lang.String name)
Remove an SSM object from the system. |
void |
removeProviderInstanceConfiguration(java.lang.String SSM,
java.lang.String providername,
java.lang.String providerType)
Remove a provider from an SSM. |
void |
removeResourceBinding(java.lang.String SSMName,
java.lang.String Resource)
Unbind a resource from an SSM. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void addResourceBinding(java.lang.String SSMName, java.lang.String Resource) throws BLMException
SSMName
- The name of the SSM to bind the resource to.Resource
- The resource to bind to the SSM
BLMException
public void create(java.lang.String name) throws BLMException
name
- The name of the SSM to create. This name should be unique
BLMException
public SSMProviderManager createProviderConfiguration(java.lang.String SSM, java.lang.String providername, java.lang.String providerType, java.lang.String mgmtinterface) throws BLMException, BadParameterException
SSM
- The name of the SSM that this provider will be configured for.providername
- The name of the provider to add.providerType
- The type of provider to add. The provider type can be one of the values defined
in the SSMProviderTypes class. For example: ADJUDICATION
or AUTHORIZATION
.mgmtinterface
- The full name of the management interface associated with this provider. Typically
the management interface is the name of the mbean associated with the provider for example, the
ASIAdjudicator has a management interface of com.bea.security.providers.authorization.ASIAdjudicator
BLMException
BadParameterException
SSMProviderManager
,
SSMProviderTypes
public java.lang.String filter(java.lang.String findPattern) throws BLMException
findPattern
- Pattern for the filter eg. "*" or "MySSM*"
BLMException
getReport(String cID)
,
getReport(String cID, int iStart, int iCount)
,
getCount(String CID)
,
release(String cID)
,
find(String cID, String name)
public boolean find(java.lang.String cID, java.lang.String name) throws BLMException
cID
- collection ID of the collection.name
- Name of the SCM.
BLMException
public java.lang.String getBoundResources(java.lang.String SSMName) throws BLMException
BLMException
BLMApplicationManager.getReport(String cID)
,
BLMApplicationManager.getReport(String cID, int iStart, int iCount)
,
BLMApplicationManager.getCount(String CID)
,
BLMApplicationManager.release(String cID)
,
BLMApplicationManager.find(String cID, String name)
,
BLMApplicationManager
public int getCount(java.lang.String cID) throws BLMException
cID
- ID of the collection, either SSM or provider collection IDs may be used.
BLMException
public SSMProviderManager getProviderManager(java.lang.String SSM, java.lang.String providername, java.lang.String providerType) throws BLMException
SSM
- The name of the SSM the provider is associated with.providername
- The providername to edit.providerType
- The type of provider to add. The provider type can be one of the values defined
in the SSMProviderTypes class. For example: SSMProviderTypes.ADJUDICATION.
It consists of providertype/BLMException
SSMProviderManager
,
SSMProviderTypes
public SSMProviderManager[] getProviderReport(java.lang.String cID) throws BLMException
cID
- ID of the collection
BLMException
SSMProviderManager
public SSMProviderManager[] getProviderReport(java.lang.String cID, int iStart, int iCount) throws BLMException
cID
- ID of the collectioniStart
- Start index in the providers collection.iCount
- The number of providers.
BLMException
SSMProviderManager
public java.lang.String getProviders(java.lang.String SSMName) throws BLMException
BLMException
getProviderReport(String cID)
,
getProviderReport(String cID, int iStart, int iCount)
,
getCount(String CID)
,
release(String cID)
public java.lang.String[] getReport(java.lang.String cID) throws BLMException
cID
- ID of the collection
BLMException
public java.lang.String[] getReport(java.lang.String cID, int iStart, int iCount) throws BLMException
cID
- ID of the collectioniStart
- Start index in the collection.iCount
- The number of objects.
BLMException
public java.lang.String getSCM(java.lang.String ssmName) throws BLMException
ssmName
- name of the SSM. The name should not be fully qualified or contain any prefixes.
BLMException
public void release(java.lang.String cID) throws BLMException
null
collection id will cause all held collections to be released.
cID
- ID of the collection
BLMException
public void releaseProviderReport(java.lang.String cID) throws BLMException
null
collection id will cause all held collections to be released.
cID
- ID of the collection
BLMException
public void remove(java.lang.String name) throws BLMException
name
- The name of the SSM object that should be removed.
BLMException
public void removeProviderInstanceConfiguration(java.lang.String SSM, java.lang.String providername, java.lang.String providerType) throws BLMException
SSM
- The name of the SSM this provider will be removed from.providername
- The providername to remove.providerType
- The type of provider to remove. The provider type can be one of the values defined
in the SSMProviderTypes class. For example: SSMProviderTypes.ADJUDICATION.
BLMException
SSMProviderTypes
public void removeResourceBinding(java.lang.String SSMName, java.lang.String Resource) throws BLMException
SSMName
- The name of the SSM to unbind the resource from.Resource
- The name of the resource to unbind from the SSM.
BLMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |