Interface SAML2NameIDGenerator

    • 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 interface NameIdentifierGenerator<NameID>
        Parameters:
        profileRequestContext - the current profile request context
        format - the identifier format to generate
        Returns:
        the identifier object, or null
        Throws:
        SAMLException - if an error occurs generating an identifier