com.raritantechnologies.federated.fast.security
Class SecurityAccessModuleLoader

java.lang.Object
  extended bycom.raritantechnologies.federated.fast.security.SecurityAccessModuleLoader
All Implemented Interfaces:
IGatewayOutputProcessor

public class SecurityAccessModuleLoader
extends java.lang.Object
implements IGatewayOutputProcessor

Processes user and group IDs and loads them into a FAST Security Access Module (SAM) using the UserMonitor API.

XML Configuration Template:
   <GatewayOutputProcessor class="com.raritantechnologies.federated.fast.SecurityAccessModuleLoader"
                              userMonitorCertificate="[ id to use to create a UserMonitor ]"
                              userMonitorPassword="[ password for UserMonitor cert ]"
                              userMonitorPasswordEnc="[ DES encrypted password ]"
                              secureServerHost="[ host of security server ]"
                              secureServerPort="[ port of security server ]"
                              logModuleName="[ name of login module ]"
                              userIDField="[ name of field in Result that contains userID ]"
                              userGroupField="[ name of field in Result that contains groupID ]" />
 


Constructor Summary
SecurityAccessModuleLoader()
           
 
Method Summary
 void dataComplete()
          Data feed is complete.
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element outputProcElem, ISearchFieldMap sfMap)
          Initialize the GatewayOutputProcessor from XML Configuration Element.
 void initialize(java.util.Map initParameters)
          Used for dynamic initialization (connection, collection name, file name, etc.)
 java.lang.String processData(IResultSet data)
          returns name of XML File created/appended.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityAccessModuleLoader

public SecurityAccessModuleLoader()
Method Detail

processData

public java.lang.String processData(IResultSet data)
Description copied from interface: IGatewayOutputProcessor
returns name of XML File created/appended.

Specified by:
processData in interface IGatewayOutputProcessor

dataComplete

public void dataComplete()
Data feed is complete.

Specified by:
dataComplete in interface IGatewayOutputProcessor

initialize

public void initialize(org.w3c.dom.Element outputProcElem,
                       ISearchFieldMap sfMap)
Description copied from interface: IGatewayOutputProcessor
Initialize the GatewayOutputProcessor from XML Configuration Element.

Specified by:
initialize in interface IGatewayOutputProcessor

initialize

public void initialize(java.util.Map initParameters)
Description copied from interface: IGatewayOutputProcessor
Used for dynamic initialization (connection, collection name, file name, etc.)

Specified by:
initialize in interface IGatewayOutputProcessor

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IGatewayOutputProcessor