edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector
Class ComputedIDDataConnectorFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
          extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.BaseDataConnectorFactoryBean
              extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.ComputedIDDataConnectorFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean

public class ComputedIDDataConnectorFactoryBean
extends BaseDataConnectorFactoryBean

Spring factory bean for ComputedIDDataConnectors.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ComputedIDDataConnectorFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 String getGeneratedAttribute()
          Gets the ID of the attribute generated by the connector.
 Class getObjectType()
          
 byte[] getSalt()
          Gets the salt used when computing the ID.
 String getSourceAttribute()
          Gets the ID of the attribute whose first value is used when generating the computed ID.
 void setGeneratedAttribute(String id)
          Sets the ID of the attribute generated by the connector.
 void setSalt(byte[] salt)
          Sets the salt used when computing the ID.
 void setSourceAttribute(String id)
          Sets the ID of the attribute whose first value is used when generating the computed ID.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.BaseDataConnectorFactoryBean
getFailoverDataConnectorId, populateDataConnector, setFailoverDataConnectorIds
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
getDependencyIds, getPluginId, setDependencyIds, setPluginId
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputedIDDataConnectorFactoryBean

public ComputedIDDataConnectorFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface FactoryBean
Specified by:
getObjectType in class AbstractFactoryBean

getGeneratedAttribute

public String getGeneratedAttribute()
Gets the ID of the attribute generated by the connector.

Returns:
ID of the attribute generated by the connector

setGeneratedAttribute

public void setGeneratedAttribute(String id)
Sets the ID of the attribute generated by the connector.

Parameters:
id - ID of the attribute generated by the connector

getSourceAttribute

public String getSourceAttribute()
Gets the ID of the attribute whose first value is used when generating the computed ID.

Returns:
ID of the attribute whose first value is used when generating the computed ID

setSourceAttribute

public void setSourceAttribute(String id)
Sets the ID of the attribute whose first value is used when generating the computed ID.

Parameters:
id - ID of the attribute whose first value is used when generating the computed ID

getSalt

public byte[] getSalt()
Gets the salt used when computing the ID.

Returns:
salt used when computing the ID

setSalt

public void setSalt(byte[] salt)
Sets the salt used when computing the ID.

Parameters:
salt - salt used when computing the ID

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2010 Internet2. All Rights Reserved.