Class NameIdentifierGenerationServiceImpl
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
net.shibboleth.ext.spring.service.AbstractServiceableComponent<NameIdentifierGenerationService>
net.shibboleth.idp.saml.nameid.impl.NameIdentifierGenerationServiceImpl
- All Implemented Interfaces:
NameIdentifierGenerationService
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
,ServiceableComponent<NameIdentifierGenerationService>
,Aware
,ApplicationContextAware
public class NameIdentifierGenerationServiceImpl
extends AbstractServiceableComponent<NameIdentifierGenerationService>
implements NameIdentifierGenerationService
Implementation of
NameIdentifierGenerationService
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SAML1NameIdentifierGenerator
SAML 1 generator.private SAML2NameIDGenerator
SAML 2 generator. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Get theSAML1NameIdentifierGenerator
.Get theSAML2NameIDGenerator
.void
Set theSAML1NameIdentifierGenerator
to use.void
setSAML2NameIDGenerator
(SAML2NameIDGenerator generator) Set theSAML2NameIDGenerator
to use.Methods inherited from class net.shibboleth.ext.spring.service.AbstractServiceableComponent
doDestroy, getApplicationContext, pinComponent, setApplicationContext, unloadComponent, unpinComponent
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
getId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Field Details
-
saml1Generator
SAML 1 generator. -
saml2Generator
SAML 2 generator.
-
-
Constructor Details
-
NameIdentifierGenerationServiceImpl
public NameIdentifierGenerationServiceImpl()
-
-
Method Details
-
setSAML1NameIdentifierGenerator
Set theSAML1NameIdentifierGenerator
to use.- Parameters:
generator
- generator to use
-
setSAML2NameIDGenerator
Set theSAML2NameIDGenerator
to use.- Parameters:
generator
- generator to use
-
doInitialize
- Overrides:
doInitialize
in classAbstractServiceableComponent<NameIdentifierGenerationService>
- Throws:
ComponentInitializationException
-
getSAML1NameIdentifierGenerator
Get theSAML1NameIdentifierGenerator
.- Specified by:
getSAML1NameIdentifierGenerator
in interfaceNameIdentifierGenerationService
- Returns:
- the
SAML1NameIdentifierGenerator
-
getSAML2NameIDGenerator
Get theSAML2NameIDGenerator
.- Specified by:
getSAML2NameIDGenerator
in interfaceNameIdentifierGenerationService
- Returns:
- the
SAML2NameIDGenerator
-
getComponent
- Specified by:
getComponent
in interfaceServiceableComponent<NameIdentifierGenerationService>
- Specified by:
getComponent
in classAbstractServiceableComponent<NameIdentifierGenerationService>
-