edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition
Class CryptoTransientIdAttributeDefinitionFactoryBean

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.attributeDefinition.BaseAttributeDefinitionFactoryBean
              extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.CryptoTransientIdAttributeDefinitionFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class CryptoTransientIdAttributeDefinitionFactoryBean
extends BaseAttributeDefinitionFactoryBean

Spring factory bean producing CryptoTransientIdAttributeDefinitions.


Field Summary
private  DataSealer dataSealer
          Object used to protect and encrypt identifiers.
private  long idLifetime
          Length, in milliseconds, identifiers are valid.
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
CryptoTransientIdAttributeDefinitionFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 DataSealer getDataSealer()
          Gets the object used to protect and encrypt identifiers.
 long getIdLifetime()
          Gets the time, in milliseconds, ids are valid.
 Class<CryptoTransientIdAttributeDefinition> getObjectType()
          
 void setDataSealer(DataSealer sealer)
          Sets the object used to protect and encrypt identifiers.
 void setIdLifetime(long lifetime)
          Sets the time, in milliseconds, ids are valid.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionFactoryBean
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeId, isDependencyOnly, populateAttributeDefinition, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeId
 
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
 

Field Detail

dataSealer

private DataSealer dataSealer
Object used to protect and encrypt identifiers.


idLifetime

private long idLifetime
Length, in milliseconds, identifiers are valid.

Constructor Detail

CryptoTransientIdAttributeDefinitionFactoryBean

public CryptoTransientIdAttributeDefinitionFactoryBean()
Method Detail

getObjectType

public Class<CryptoTransientIdAttributeDefinition> getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

getDataSealer

public DataSealer getDataSealer()
Gets the object used to protect and encrypt identifiers.

Returns:
object used to protect and encrypt identifiers

setDataSealer

public void setDataSealer(DataSealer sealer)
Sets the object used to protect and encrypt identifiers.

Parameters:
sealer - object used to protect and encrypt identifiers

getIdLifetime

public long getIdLifetime()
Gets the time, in milliseconds, ids are valid.

Returns:
time, in milliseconds, ids are valid

setIdLifetime

public void setIdLifetime(long lifetime)
Sets the time, in milliseconds, ids are valid.

Parameters:
lifetime - time, in milliseconds, ids are valid

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.