Class DefaultPac4jSAMLResponse

  • All Implemented Interfaces:
    Pac4jSAMLResponse

    public class DefaultPac4jSAMLResponse
    extends java.lang.Object
    implements Pac4jSAMLResponse
    Empty response adapter containing a ByteArrayOutputStream in order opensaml can write the saml messages. The content can be retrieved as a String from getOutgoingContent().
    Since:
    1.8
    Author:
    Misagh Moayyed
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultPac4jSAMLResponse​(org.pac4j.core.context.WebContext response)
      Constructs a response adaptor wrapping the given response.
    • Constructor Detail

      • DefaultPac4jSAMLResponse

        public DefaultPac4jSAMLResponse​(org.pac4j.core.context.WebContext response)
        Constructs a response adaptor wrapping the given response.
        Parameters:
        response - the response
        Throws:
        java.lang.IllegalArgumentException - if the response is null