IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.securitydomain
Class SecurityDomainChecker

java.lang.Object
  extended by com.ibm.wsspi.security.securitydomain.SecurityDomainChecker

public abstract class SecurityDomainChecker
extends java.lang.Object

Since:
WAS 7.0
Version:
WAS 7.0

Constructor Summary
SecurityDomainChecker()
           
 
Method Summary
 boolean acceptSyncFolder(java.lang.String reourceConfigId, java.lang.String resourceType, java.lang.String node)
           
 void cellDomainMapped(java.lang.Object session, java.lang.Object cfgService)
           notify plugins when a cell-wide domain is assigned
 boolean handleResource(java.lang.String resourceType)
           
 boolean validateResource(java.lang.String resourceName, java.lang.String resourceType)
           
 boolean 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)
Parameters:
resourceConfigId - as formatted in domain-security-map.xml (example: cells/cellName/nodes/nodeName/servers/serverName)
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

notify plugins when a cell-wide domain is assigned

Throws:
java.lang.Exception

IBM WebSphere Application ServerTM
Release 7