Interface Saml2AuthenticationRequestFactory

  • All Known Implementing Classes:
    OpenSamlAuthenticationRequestFactory

    public interface Saml2AuthenticationRequestFactory
    Component that generates an AuthenticationRequest, samlp:AuthnRequestType as defined by https://www.oasis-open.org/committees/download.php/35711/sstc-saml-core-errata-2.0-wd-06-diff.pdf Page 50, Line 2147
    Since:
    5.2
    • Method Detail

      • createAuthenticationRequest

        java.lang.String createAuthenticationRequest​(Saml2AuthenticationRequest request)
        Creates an authentication request from the Service Provider, sp, to the Identity Provider, idp. The authentication result is an XML string that may be signed, encrypted, both or neither.
        Parameters:
        request - - information about the identity provider, the recipient of this authentication request and accompanying data
        Returns:
        XML data in the format of a String. This data may be signed, encrypted, both signed and encrypted or neither signed and encrypted
        Throws:
        Saml2Exception - when a SAML library exception occurs