Class ProxySAML1NameIdentifierGenerator
java.lang.Object
net.shibboleth.idp.saml.nameid.impl.ProxySAML1NameIdentifierGenerator
- All Implemented Interfaces:
NameIdentifierGenerator<NameIdentifier>
,SAML1NameIdentifierGenerator
public class ProxySAML1NameIdentifierGenerator extends Object implements SAML1NameIdentifierGenerator
A compound implementation of the
SAML1NameIdentifierGenerator
interface that wraps a sequence of
candidate generators along with a default to try if no format-specific options are available.-
Field Summary
Fields Modifier and Type Field Description private ReloadableService<NameIdentifierGenerationService>
generatorService
Service used to get the generator to proxy. -
Constructor Summary
Constructors Constructor Description ProxySAML1NameIdentifierGenerator(ReloadableService<NameIdentifierGenerationService> service)
Constructor. -
Method Summary
Modifier and Type Method Description NameIdentifier
generate(ProfileRequestContext profileRequestContext, String format)
-
Field Details
-
generatorService
Service used to get the generator to proxy.
-
-
Constructor Details
-
ProxySAML1NameIdentifierGenerator
public ProxySAML1NameIdentifierGenerator(@Nonnull ReloadableService<NameIdentifierGenerationService> service)Constructor.- Parameters:
service
- the service providing the generator to proxy
-
-
Method Details
-
generate
@Nullable public NameIdentifier generate(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull @NotEmpty String format) throws SAMLException- Specified by:
generate
in interfaceNameIdentifierGenerator<NameIdentifier>
- Specified by:
generate
in interfaceSAML1NameIdentifierGenerator
- Throws:
SAMLException
-