com.ibm.wsspi.security.securitydomain

Class SecurityDomainChecker

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.security.securitydomain.SecurityDomainChecker

  1. public abstract class SecurityDomainChecker
  2. 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
  1. boolean
acceptSyncFolder(java.lang.String reourceConfigId,java.lang.String resourceType,java.lang.String node)
  1. void
cellDomainMapped(java.lang.Object session,java.lang.Object cfgService)
notify plugins when a cell-wide domain is assigned
  1. boolean
handleResource(java.lang.String resourceType)
  1. boolean
validateResource(java.lang.String resourceName,java.lang.String resourceType)
  1. 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

  1. public SecurityDomainChecker()

Method Detail

handleResource

  1. 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

  1. public boolean validateResource( java.lang.String resourceName,
  2. java.lang.String resourceType)
  3. 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

  1. public boolean validateResource( java.lang.String resourceName,
  2. java.lang.String resourceType,
  3. java.lang.Object session)
  4. 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

  1. public boolean acceptSyncFolder( java.lang.String reourceConfigId,
  2. java.lang.String resourceType,
  3. 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

  1. public void cellDomainMapped(java.lang.Object session,
  2. java.lang.Object cfgService)
  3. throws java.lang.Exception

notify plugins when a cell-wide domain is assigned

Throws:
java.lang.Exception