public class ProxySAML2NameIDGenerator extends Object implements org.opensaml.saml.saml2.profile.SAML2NameIDGenerator
SAML2NameIDGenerator interface that wraps a sequence of
candidate generators along with a default to try if no format-specific options are available.| Modifier and Type | Field and Description |
|---|---|
private ReloadableService<NameIdentifierGenerationService> |
generatorService
Service used to get the generator to proxy.
|
| Constructor and Description |
|---|
ProxySAML2NameIDGenerator(ReloadableService<NameIdentifierGenerationService> service)
Constructor.
|
@Nonnull private final ReloadableService<NameIdentifierGenerationService> generatorService
public ProxySAML2NameIDGenerator(@Nonnull ReloadableService<NameIdentifierGenerationService> service)
service - the service providing the generator to proxy@Nullable public org.opensaml.saml.saml2.core.NameID generate(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext, @Nonnull@NotEmpty String format) throws org.opensaml.saml.common.SAMLException
generate in interface org.opensaml.saml.common.profile.NameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>generate in interface org.opensaml.saml.saml2.profile.SAML2NameIDGeneratororg.opensaml.saml.common.SAMLExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.