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

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.TransientIdAttributeDefinitionFactoryBean
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 TransientIdAttributeDefinitionFactoryBean
extends BaseAttributeDefinitionFactoryBean

Spring factory bean producing TransientIdAttributeDefinitions.


Field Summary
private  org.opensaml.util.storage.StorageService<String,TransientIdEntry> identifierStore
          Store used to map transient identifier tokens to principal names.
private  long idLifetime
          Length, in milliseconds, identifiers are valid.
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
TransientIdAttributeDefinitionFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 long getIdentifierLifetime()
          Gets the length of time, in milliseconds, the identifier are valid.
 org.opensaml.util.storage.StorageService<String,TransientIdEntry> getIdentifierStore()
          Gets the store used to map transient identifier tokens to principal names.
 Class getObjectType()
          
 void setIdentifierLifetime(long lifetime)
          Sets the length of time, in milliseconds, the identifier are valid.
 void setIdentifierStore(org.opensaml.util.storage.StorageService<String,TransientIdEntry> store)
          Sets the store used to map transient identifier tokens to principal names.
 
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

identifierStore

private org.opensaml.util.storage.StorageService<String,TransientIdEntry> identifierStore
Store used to map transient identifier tokens to principal names.


idLifetime

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

Constructor Detail

TransientIdAttributeDefinitionFactoryBean

public TransientIdAttributeDefinitionFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

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

getIdentifierStore

public org.opensaml.util.storage.StorageService<String,TransientIdEntry> getIdentifierStore()
Gets the store used to map transient identifier tokens to principal names.

Returns:
store used to map transient identifier tokens to principal names

setIdentifierStore

public void setIdentifierStore(org.opensaml.util.storage.StorageService<String,TransientIdEntry> store)
Sets the store used to map transient identifier tokens to principal names.

Parameters:
store - store used to map transient identifier tokens to principal names

getIdentifierLifetime

public long getIdentifierLifetime()
Gets the length of time, in milliseconds, the identifier are valid.

Returns:
length of time, in milliseconds, the identifier are valid

setIdentifierLifetime

public void setIdentifierLifetime(long lifetime)
Sets the length of time, in milliseconds, the identifier are valid.

Parameters:
lifetime - length of time, in milliseconds, the identifier 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.