Class SamlAttributeBasedNameIdGenerator
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
org.opensaml.saml.common.profile.AbstractNameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>
org.opensaml.saml.saml2.profile.AbstractSAML2NameIDGenerator
org.apereo.cas.support.saml.web.idp.profile.builders.nameid.SamlAttributeBasedNameIdGenerator
- All Implemented Interfaces:
Predicate<org.opensaml.profile.context.ProfileRequestContext>,net.shibboleth.shared.component.Component,net.shibboleth.shared.component.DestructableComponent,net.shibboleth.shared.component.IdentifiableComponent,net.shibboleth.shared.component.IdentifiedComponent,net.shibboleth.shared.component.InitializableComponent,org.opensaml.saml.common.profile.FormatSpecificNameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>,org.opensaml.saml.common.profile.NameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>,org.opensaml.saml.saml2.profile.SAML2NameIDGenerator
public class SamlAttributeBasedNameIdGenerator
extends org.opensaml.saml.saml2.profile.AbstractSAML2NameIDGenerator
This is
SamlAttributeBasedNameIdGenerator.- Since:
- 6.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.opensaml.saml.saml2.profile.SAML2NameIDGeneratorget(Optional<org.opensaml.saml.saml2.core.RequestAbstractType> authnRequest, String nameFormat, org.apereo.cas.support.saml.services.SamlRegisteredService service, String attributeValue) Gets generator for.protected StringgetIdentifier(@NonNull org.opensaml.profile.context.ProfileRequestContext profileRequestContext) Methods inherited from class org.opensaml.saml.saml2.profile.AbstractSAML2NameIDGenerator
doGenerate, getEffectiveSPNameQualifier, setRequestLookupStrategyMethods inherited from class org.opensaml.saml.common.profile.AbstractNameIdentifierGenerator
doInitialize, generate, getDefaultIdPNameQualifierLookupStrategy, getDefaultSPNameQualifierLookupStrategy, getEffectiveIdPNameQualifier, getFormat, getIdPNameQualifier, getSPNameQualifier, getSPProvidedID, isOmitQualifiers, setActivationCondition, setDefaultIdPNameQualifierLookupStrategy, setDefaultSPNameQualifierLookupStrategy, setFormat, setIdPNameQualifier, setOmitQualifiers, setSPNameQualifier, setSPProvidedId, testMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface org.opensaml.saml.saml2.profile.SAML2NameIDGenerator
generate
-
Constructor Details
-
SamlAttributeBasedNameIdGenerator
public SamlAttributeBasedNameIdGenerator()
-
-
Method Details
-
get
public static org.opensaml.saml.saml2.profile.SAML2NameIDGenerator get(Optional<org.opensaml.saml.saml2.core.RequestAbstractType> authnRequest, String nameFormat, org.apereo.cas.support.saml.services.SamlRegisteredService service, String attributeValue) Gets generator for.- Parameters:
authnRequest- the authn requestnameFormat- the name formatservice- the serviceattributeValue- the attribute value- Returns:
- the generator for
-
getIdentifier
protected String getIdentifier(@NonNull @NonNull org.opensaml.profile.context.ProfileRequestContext profileRequestContext) - Overrides:
getIdentifierin classorg.opensaml.saml.common.profile.AbstractNameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>
-