com.ibm.wsspi.security.securitydomain
Class SecurityDomainChecker
- java.lang.Object
com.ibm.wsspi.security.securitydomain.SecurityDomainChecker
- public abstract class SecurityDomainChecker
- extends java.lang.Object
Since:
WAS 7.0
Version:
WAS 7.0
Constructor Summary
Constructor and Description |
---|
SecurityDomainChecker()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
acceptSyncFolder(java.lang.String reourceConfigId,java.lang.String resourceType,java.lang.String node)
|
|
cellDomainMapped(java.lang.Object session,java.lang.Object cfgService)
notify plugins when a cell-wide domain is assigned
|
|
handleResource(java.lang.String resourceType)
|
|
validateResource(java.lang.String resourceName,java.lang.String resourceType)
|
|
validateResource(java.lang.String resourceName,java.lang.String resourceType,java.lang.Object session)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
SecurityDomainChecker
- public SecurityDomainChecker()
Method Detail
handleResource
- public boolean handleResource(java.lang.String resourceType)
Parameters:
resourceType
- for example the string SIBus Returns:
true if you know the input resource type, false otherwise.
validateResource
- public boolean validateResource( java.lang.String resourceName,
- java.lang.String resourceType)
- throws com.ibm.wsspi.security.securitydomain.SecurityDomainValidationException
Parameters:
resourceName
- name of the resource
(example: Cell=cellName:Node=nodeName:Server=serverName resourceType
- for example the string SIBus Returns:
true if resource can be validate as below, false otherwise, possibly
raise an exception if so desired.
Throws:
com.ibm.wsspi.security.securitydomain.SecurityDomainValidationException
validateResource
- public boolean validateResource( java.lang.String resourceName,
- java.lang.String resourceType,
- java.lang.Object session)
- throws com.ibm.wsspi.security.securitydomain.SecurityDomainValidationException
Parameters:
resourceName
- name of the resource
(example: Cell=cellName:Node=nodeName:Server=serverName resourceType
- for example the string SIBus session
- object from the current command session Returns:
true if resource can be validate as below, false otherwise, possibly
raise an exception if so desired.
Throws:
com.ibm.wsspi.security.securitydomain.SecurityDomainValidationException
acceptSyncFolder
- public boolean acceptSyncFolder( java.lang.String reourceConfigId,
- java.lang.String resourceType,
- java.lang.String node)
resourceType
- e.g, SIBus, or Server, etc. node
- The name of the node being synchronized Returns:
true if condition below is satisfied, false if not.
cellDomainMapped
- public void cellDomainMapped(java.lang.Object session,
- java.lang.Object cfgService)
- throws java.lang.Exception
Throws:
java.lang.Exception
notify plugins when a cell-wide domain is assigned