public class CryptoTransientIdAttributeDefinition extends BaseAttributeDefinition
| Modifier and Type | Field and Description |
|---|---|
private DataSealer |
dataSealer
Object used to protect and encrypt the data.
|
private long |
idLifetime
Length, in milliseconds, tokens are valid.
|
private static org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
CryptoTransientIdAttributeDefinition(DataSealer sealer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected BaseAttribute<String> |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
long |
getIdLifetime()
Gets the time, in milliseconds, ids are valid.
|
void |
setIdLifetime(long lifetime)
Sets the time, in milliseconds, ids are valid.
|
void |
validate()
Validate the internal state of this plug-in.
|
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeID, getValuesFromAllDependencies, isDependencyOnly, resolve, setDependencyOnly, setSourceAttributeIDgetDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyIds, getIdprivate static org.slf4j.Logger log
private DataSealer dataSealer
private long idLifetime
public CryptoTransientIdAttributeDefinition(DataSealer sealer)
sealer - object used to protect and encrypt the dataprotected BaseAttribute<String> doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
doResolve in class BaseAttributeDefinitionresolutionContext - current attribute resolution contextAttributeResolutionException - thrown if there is a problem resolving and creating the attributepublic long getIdLifetime()
public void setIdLifetime(long lifetime)
lifetime - time, in milliseconds, ids are validpublic void validate()
throws AttributeResolutionException
AttributeResolutionException - if the plug-in has an invalid internal stateCopyright © 1999-2015. All Rights Reserved.