public class SAML2StringNameIDEncoder extends AbstractSAML2NameIDEncoder
NameIdentifierAttributeEncoder that encodes the first String value of an
IdPAttribute to a SAML 2 NameID.| Modifier and Type | Field and Description |
|---|---|
private String |
format
The format of the name identifier.
|
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameID> |
identifierBuilder
Identifier builder.
|
private org.slf4j.Logger |
log
Class logger.
|
private String |
qualifier
The security or administrative domain that qualifies the name identifier.
|
| Constructor and Description |
|---|
SAML2StringNameIDEncoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(String input) |
org.opensaml.saml.saml2.core.NameID |
encode(IdPAttribute attribute) |
boolean |
equals(Object obj) |
String |
getNameFormat()
Get the format of the name identifier.
|
String |
getNameQualifier()
Get the security or administrative domain that qualifies the name identifier.
|
int |
hashCode() |
void |
setNameFormat(String nameFormat)
Set the format of the name identifier.
|
void |
setNameQualifier(String nameQualifier)
Set the security or administrative domain that qualifies the name identifier.
|
getActivationCondition, getProtocol, setActivationConditiondestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private final org.slf4j.Logger log
@Nonnull private final org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameID> identifierBuilder
@Nullable public final String getNameFormat()
public final void setNameFormat(@Nullable String nameFormat)
nameFormat - format of the name identifier@Nullable public final String getNameQualifier()
@Nullable public final void setNameQualifier(String nameQualifier)
nameQualifier - security or administrative domain that qualifies the name identifierpublic boolean apply(String input)
@Nonnull public org.opensaml.saml.saml2.core.NameID encode(@Nonnull IdPAttribute attribute) throws AttributeEncodingException
AttributeEncodingExceptionpublic boolean equals(Object obj)
Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.