Search in sources :

Example 1 with DefaultPac4jSAMLResponse

use of org.pac4j.saml.transport.DefaultPac4jSAMLResponse in project pac4j by pac4j.

the class SAML2ContextProvider method prepareOutboundMessageContext.

protected MessageContext<Pac4jSAMLResponse> prepareOutboundMessageContext(final WebContext webContext) {
    final Pac4jSAMLResponse outTransport = new DefaultPac4jSAMLResponse(webContext);
    final MessageContext<Pac4jSAMLResponse> outCtx = new MessageContext<>();
    outCtx.setMessage(outTransport);
    return outCtx;
}
Also used : DefaultPac4jSAMLResponse(org.pac4j.saml.transport.DefaultPac4jSAMLResponse) Pac4jSAMLResponse(org.pac4j.saml.transport.Pac4jSAMLResponse) DefaultPac4jSAMLResponse(org.pac4j.saml.transport.DefaultPac4jSAMLResponse) MessageContext(org.opensaml.messaging.context.MessageContext)

Aggregations

MessageContext (org.opensaml.messaging.context.MessageContext)1 DefaultPac4jSAMLResponse (org.pac4j.saml.transport.DefaultPac4jSAMLResponse)1 Pac4jSAMLResponse (org.pac4j.saml.transport.Pac4jSAMLResponse)1