Package org.opensaml.saml.saml2.profile
Interface SAML2NameIDGenerator
-
- All Superinterfaces:
NameIdentifierGenerator<NameID>
- All Known Implementing Classes:
AbstractSAML2NameIDGenerator
public interface SAML2NameIDGenerator extends NameIdentifierGenerator<NameID>
Specialization ofNameIdentifierGenerator
for SAML 2.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameID
generate(org.opensaml.profile.context.ProfileRequestContext profileRequestContext, String format)
Generate an identifier object.
-
-
-
Method Detail
-
generate
@Nullable NameID generate(@Nonnull org.opensaml.profile.context.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
-
-