NameIdType
- type of object producedpublic interface NameIdentifierGenerator<NameIdType extends SAMLObject>
NameIdentifier
and/or NameID
objects for inclusion in assertion subjects.
Such a component typically consumes attribute information produced about the subject and transforms it (possibly via identity function) into use as a subject identifier. This operation is essentially the inverse of a subject canonicalization flow that operates on SAML identifiers and turns them back into principal names.
A component may be self-contained and need not depend on any other subject information, depending on the nature of the identifier.
Modifier and Type | Method and Description |
---|---|
NameIdType |
generate(ProfileRequestContext profileRequestContext,
String format)
Generate an identifier object.
|
@Nullable NameIdType generate(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull @NotEmpty String format) throws SAMLException
profileRequestContext
- the current profile request contextformat
- the identifier format to generateSAMLException
- if an error occurs generating an identifierCopyright © 2016 JBoss by Red Hat. All rights reserved.