@ThreadSafe public class AttributeRelease extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
attributeId
The attribute id.
|
private DateTime |
consentDate
A timestamp when consent for this attribute release was given.
|
private String |
valuesHash
An hash over all attribute values.
|
| Modifier | Constructor and Description |
|---|---|
private |
AttributeRelease(net.shibboleth.idp.attribute.IdPAttribute attribute,
DateTime consentDate)
Constructs a @see AttributeRelease.
|
|
AttributeRelease(String attributeId,
String valuesHash,
DateTime consentDate)
Constructs a @see AttributeRelease.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(net.shibboleth.idp.attribute.IdPAttribute attribute)
Checks if an @see AttributeRelease contains a given @see Attribute.
|
static Collection<AttributeRelease> |
createAttributeReleases(Collection<net.shibboleth.idp.attribute.IdPAttribute> attributes,
DateTime date)
Creates a collection of @see AttributeRelease.
|
String |
getAttributeId()
Gets the attribute id.
|
DateTime |
getDate()
Gets the timestamp when consent for this attribute release was given.
|
String |
getValuesHash()
Gets the hash value of the attribute values.
|
private final String attributeId
private final String valuesHash
private final DateTime consentDate
public AttributeRelease(String attributeId, String valuesHash, DateTime consentDate)
attributeId - The id of the attribute.valuesHash - The hashed values.consentDate - The timestamp for this @see AttributeRelease.private AttributeRelease(net.shibboleth.idp.attribute.IdPAttribute attribute,
DateTime consentDate)
attribute - The @see Attribute.consentDate - The timestamp for this @see AttributeRelease.public String getAttributeId()
public String getValuesHash()
public DateTime getDate()
public static Collection<AttributeRelease> createAttributeReleases(Collection<net.shibboleth.idp.attribute.IdPAttribute> attributes, DateTime date)
attributes - The attributes from where the attribute releases should created.date - The consent date for the attributes.public boolean contains(net.shibboleth.idp.attribute.IdPAttribute attribute)
attribute - The @see Attribute to check for.Copyright © 1999–2014. All rights reserved.