Package org.opensaml.saml.saml2.profile
Interface SAML2NameIDGenerator
- All Superinterfaces:
NameIdentifierGenerator<NameID>
- All Known Implementing Classes:
AbstractSAML2NameIDGenerator
,ChainingSAML2NameIDGenerator
Specialization of
NameIdentifierGenerator
for SAML 2.0.-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(ProfileRequestContext profileRequestContext, String format) Generate an identifier object.
-
Method Details
-
generate
@Nullable NameID generate(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull @NotEmpty String format) throws SAMLException Generate an identifier object.- Specified by:
generate
in interfaceNameIdentifierGenerator<NameID>
- Parameters:
profileRequestContext
- the current profile request contextformat
- the identifier format to generate- Returns:
- the identifier object, or null
- Throws:
SAMLException
- if an error occurs generating an identifier
-