Package org.pac4j.saml.sso.impl
Class SAML2WebSSOProfileHandler
java.lang.Object
org.pac4j.saml.sso.impl.SAML2WebSSOProfileHandler
- All Implemented Interfaces:
SAML2ProfileHandler<org.opensaml.saml.saml2.core.AuthnRequest>
public class SAML2WebSSOProfileHandler
extends Object
implements SAML2ProfileHandler<org.opensaml.saml.saml2.core.AuthnRequest>
Handler capable of sending and receiving SAML messages according to the SAML2 SSO Browser profile.
- Since:
- 1.5.0
- Author:
- Michael Remond
-
Constructor Summary
ConstructorDescriptionSAML2WebSSOProfileHandler
(SAML2MessageSender<org.opensaml.saml.saml2.core.AuthnRequest> messageSender, SAML2MessageReceiver messageReceiver) -
Method Summary
Modifier and TypeMethodDescriptionorg.pac4j.core.credentials.Credentials
receive
(SAML2MessageContext context) void
send
(SAML2MessageContext context, org.opensaml.saml.saml2.core.AuthnRequest msg, Object data)
-
Constructor Details
-
SAML2WebSSOProfileHandler
public SAML2WebSSOProfileHandler(SAML2MessageSender<org.opensaml.saml.saml2.core.AuthnRequest> messageSender, SAML2MessageReceiver messageReceiver)
-
-
Method Details
-
send
public void send(SAML2MessageContext context, org.opensaml.saml.saml2.core.AuthnRequest msg, Object data) - Specified by:
send
in interfaceSAML2ProfileHandler<org.opensaml.saml.saml2.core.AuthnRequest>
-
receive
- Specified by:
receive
in interfaceSAML2ProfileHandler<org.opensaml.saml.saml2.core.AuthnRequest>
-