Package com.sun.identity.saml2.profile
Class IDPArtifactResolution
- java.lang.Object
-
- com.sun.identity.saml2.profile.IDPArtifactResolution
-
public class IDPArtifactResolution extends Object
This class handles the artifact resolution request from a service provider. It processes the artifact resolution request sent by the service provider and sends a proper SOAPMessage that contains an Assertion.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddoArtifactResolution(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)This method processes the artifact resolution request coming from a service provider.static jakarta.xml.soap.SOAPMessageonMessage(jakarta.xml.soap.SOAPMessage message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String idpEntityID)This method generates aSOAPMessagecontaining theArtifactResponsethat is corresponding to theArtifactResolvecontained in theSOAPMessagepassed in.
-
-
-
Method Detail
-
doArtifactResolution
public static void doArtifactResolution(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)This method processes the artifact resolution request coming from a service provider. It processes the artifact resolution request sent by the service provider and sends back a proper SOAPMessage that contains an Assertion.- Parameters:
request- theHttpServletRequestobjectresponse- theHttpServletResponseobject
-
onMessage
public static jakarta.xml.soap.SOAPMessage onMessage(jakarta.xml.soap.SOAPMessage message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String idpEntityID) throws SAML2ExceptionThis method generates aSOAPMessagecontaining theArtifactResponsethat is corresponding to theArtifactResolvecontained in theSOAPMessagepassed in.- Parameters:
message-SOAPMessagecontains aArtifactResolverequest- theHttpServletRequestobjectrealm- the realm to where the identity provider belongsidpEntityID- the entity id of the identity provider- Returns:
SOAPMessagecontains theArtifactResponse- Throws:
SAML2Exception- if the operation is not successful
-
-