Class ExtractSAMLAttributes.StandardExtractionStrategy
java.lang.Object
net.shibboleth.sp.saml.saml2.profile.impl.ExtractSAMLAttributes.StandardExtractionStrategy
- All Implemented Interfaces:
Function<SAMLTokenContext,Collection<IdPAttribute>>
- Enclosing class:
- ExtractSAMLAttributes
public static class ExtractSAMLAttributes.StandardExtractionStrategy
extends Object
implements Function<SAMLTokenContext,Collection<IdPAttribute>>
Built-in function to perform "standard" extraction of data into attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAttribute ID holding Address.private StringAttribute ID holding AuthnContext class ref.private StringAttribute ID holding AuthnContext decl ref.private StringAttribute ID holding authentication instant.private StringAttribute ID holding AuthenticationAuthority value(s).private StringAttribute ID holding Consent.private StringAttribute ID holding DNSName.private StringAttribute ID holding issuer.private StringAttribute ID holding NotBefore.private StringAttribute ID holding NotOnOrAfter.private StringAttribute ID holding SessionIndex.private StringAttribute ID holding SessionNotOnOrAfter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SAMLTokenContext samlTokenContext) voidSetIdPAttributeID forSubjectLocality.getAddress().voidvoidSetIdPAttributeID forAuthnContext.getAuthnContextClassRef().voidSetIdPAttributeID forAuthnContext.getAuthnContextDeclRef().voidSetIdPAttributeID forAuthnStatement.getAuthnInstant().voidSetIdPAttributeID forStatusResponseType.getConsent().voidSetIdPAttributeID forSubjectLocality.getDNSName().voidSetIdPAttributeID forXSString.getValue().voidSetIdPAttributeID forConditions.getNotBefore().voidSetIdPAttributeID forConditions.getNotOnOrAfter().voidSetIdPAttributeID forAuthnStatement.getSessionIndex().voidSetIdPAttributeID forAuthnStatement.getSessionNotOnOrAfter().
-
Field Details
-
issuerAttributeId
Attribute ID holding issuer. -
authnInstantAttributeId
Attribute ID holding authentication instant. -
authnContextClassRefAttributeId
Attribute ID holding AuthnContext class ref. -
authnContextDeclRefAttributeId
Attribute ID holding AuthnContext decl ref. -
sessionIndexAttributeId
Attribute ID holding SessionIndex. -
consentAttributeId
Attribute ID holding Consent. -
authorityAttributeId
Attribute ID holding AuthenticationAuthority value(s). -
notBeforeAttributeId
Attribute ID holding NotBefore. -
notOnOrAfterAttributeId
Attribute ID holding NotOnOrAfter. -
sessionNotOnOrAfterAttributeId
Attribute ID holding SessionNotOnOrAfter. -
addressAttributeId
Attribute ID holding Address. -
dnsNameAttributeId
Attribute ID holding DNSName.
-
-
Constructor Details
-
StandardExtractionStrategy
public StandardExtractionStrategy()
-
-
Method Details
-
setIssuerAttributeId
SetIdPAttributeID forXSString.getValue().- Parameters:
id- attribute ID to use, null to omit
-
setAuthnInstantAttributeId
SetIdPAttributeID forAuthnStatement.getAuthnInstant().- Parameters:
id- attribute ID to use, null to omit
-
setAuthnContextClassRefAttributeId
SetIdPAttributeID forAuthnContext.getAuthnContextClassRef().- Parameters:
id- attribute ID to use, null to omit
-
setAuthnContextDeclRefAttributeId
SetIdPAttributeID forAuthnContext.getAuthnContextDeclRef().- Parameters:
id- attribute ID to use, null to omit
-
setSessionIndexAttributeId
SetIdPAttributeID forAuthnStatement.getSessionIndex().- Parameters:
id- attribute ID to use, null to omit
-
setConsentAttributeId
SetIdPAttributeID forStatusResponseType.getConsent().- Parameters:
id- attribute ID to use, null to omit
-
setAuthenticatingAuthorityAttributeId
- Parameters:
id- attribute ID to use, null to omit
-
setNotBeforeAttributeId
SetIdPAttributeID forConditions.getNotBefore().- Parameters:
id- attribute ID to use, null to omit
-
setNotOnOrAfterAttributeId
SetIdPAttributeID forConditions.getNotOnOrAfter().- Parameters:
id- attribute ID to use, null to omit
-
setSessionNotOnOrAfterAttributeId
SetIdPAttributeID forAuthnStatement.getSessionNotOnOrAfter().- Parameters:
id- attribute ID to use, null to omit
-
setAddressAttributeId
SetIdPAttributeID forSubjectLocality.getAddress().- Parameters:
id- attribute ID to use, null to omit
-
setDNSNameAttributeId
SetIdPAttributeID forSubjectLocality.getDNSName().- Parameters:
id- attribute ID to use, null to omit
-
apply
- Specified by:
applyin interfaceFunction<SAMLTokenContext,Collection<IdPAttribute>>
-