Class FSSSOBrowserArtifactProfileHandler
- java.lang.Object
-
- com.sun.identity.federation.services.fednsso.FSSSOAndFedHandler
-
- com.sun.identity.federation.services.fednsso.FSSSOBrowserArtifactProfileHandler
-
public class FSSSOBrowserArtifactProfileHandler extends FSSSOAndFedHandler
IDPsingle sign on service handler handles browser artifact profile.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.federation.services.fednsso.FSSSOAndFedHandler
accountManager, authnRequest, hostedConfig, hostedDesc, hostedEntityId, metaAlias, metaManager, noFedStatus, realm, relayState, request, response, spConfig, spDescriptor, spEntityId, ssoToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFSSSOBrowserArtifactProfileHandler()FSSSOBrowserArtifactProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType spDescriptor, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType spConfig, String spEntityId, String relayState)Constructor.FSSSOBrowserArtifactProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Request samlRequest)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ListcreateSAMLAssertionArtifact(Object ssoToken, String inResponseTo, NameIdentifier userHandle, NameIdentifier idpHandle)Creates assertion and assertion artifact.protected booleandoSingleSignOn(Object ssoToken, String inResponseTo, NameIdentifier opaqueHandle, NameIdentifier idpOpaqueHandle)Generates artifact and sends it toSP.voidprocessAuthnRequest(FSAuthnRequest authnRequest, boolean bPostAuthn)Processes authentication request.FSResponseprocessSAMLRequest(FSSAMLRequest samlRequest)Processes request with artifacts.voidsetSAMLRequestElement(Element root)SetsSAMLrequest element.voidsetSOAPMessage(jakarta.xml.soap.SOAPMessage msg)SetsSOAPmessage.protected booleanverifySAMLRequestSignature(Element samlRequestElement, jakarta.xml.soap.SOAPMessage msg)-
Methods inherited from class com.sun.identity.federation.services.fednsso.FSSSOAndFedHandler
cleanMetaAlias, createAuthnResponse, doAccountFederation, doSingleSignOn, formatLoginURL, getHostedEntityId, getProvider, getRealm, isIDPProxyEnabled, processPostAuthnSSO, processPreAuthnSSO, returnErrorResponse, sendAuthnResponse, sendProxyAuthnRequest, setHostedDescriptor, setHostedDescriptorConfig, setHostedEntityId, setMetaAlias, setRealm, setSPDescriptor, verifyRequestSignature
-
-
-
-
Constructor Detail
-
FSSSOBrowserArtifactProfileHandler
protected FSSSOBrowserArtifactProfileHandler()
-
FSSSOBrowserArtifactProfileHandler
public FSSSOBrowserArtifactProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, com.sun.identity.liberty.ws.meta.jaxb.SPDescriptorType spDescriptor, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType spConfig, String spEntityId, String relayState)Constructor.- Parameters:
request-HttpServletRequestobjectresponse-HttpServletResponseobjectauthnRequest- authentication requestspDescriptor-SP's provider descriptorspConfig-SP's extended meta configspEntityId-SP's entity idrelayState- where to go after single sign on is done
-
FSSSOBrowserArtifactProfileHandler
public FSSSOBrowserArtifactProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Request samlRequest)Constructor.- Parameters:
request-HttpServletRequestobjectresponse-HttpServletResponseobjectsamlRequest-Requestobject that contains artifact
-
-
Method Detail
-
setSOAPMessage
public void setSOAPMessage(jakarta.xml.soap.SOAPMessage msg)
SetsSOAPmessage.- Parameters:
msg-SOAPMessageobject
-
setSAMLRequestElement
public void setSAMLRequestElement(Element root)
SetsSAMLrequest element.- Parameters:
root-SAMLrequest element
-
processAuthnRequest
public void processAuthnRequest(FSAuthnRequest authnRequest, boolean bPostAuthn)
Processes authentication request.- Overrides:
processAuthnRequestin classFSSSOAndFedHandler- Parameters:
authnRequest- authentication requestbPostAuthn-trueindicates it's post authentication;falseindicates it's pre authentication.
-
processSAMLRequest
public FSResponse processSAMLRequest(FSSAMLRequest samlRequest)
Processes request with artifacts.- Overrides:
processSAMLRequestin classFSSSOAndFedHandler- Parameters:
samlRequest-FSSAMLRequestobject- Returns:
FSResponseobject
-
doSingleSignOn
protected boolean doSingleSignOn(Object ssoToken, String inResponseTo, NameIdentifier opaqueHandle, NameIdentifier idpOpaqueHandle)
Generates artifact and sends it toSP.- Overrides:
doSingleSignOnin classFSSSOAndFedHandler- Returns:
truealways.
-
createSAMLAssertionArtifact
protected List createSAMLAssertionArtifact(Object ssoToken, String inResponseTo, NameIdentifier userHandle, NameIdentifier idpHandle)
Creates assertion and assertion artifact.
-
verifySAMLRequestSignature
protected boolean verifySAMLRequestSignature(Element samlRequestElement, jakarta.xml.soap.SOAPMessage msg)
-
-