Package com.sun.identity.liberty.ws.idpp
Class PPRequestHandler
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.service.DSTRequestHandler
-
- com.sun.identity.liberty.ws.idpp.PPRequestHandler
-
- All Implemented Interfaces:
RequestHandler
public class PPRequestHandler extends DSTRequestHandler
The classPPRequestHandleris used to process the query or modify requests for a personal profile service.
-
-
Constructor Summary
Constructors Constructor Description PPRequestHandler()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.identity.liberty.ws.idpp.jaxb.ModifyResponseElementgetModifyResponse(com.sun.identity.liberty.ws.idpp.jaxb.ModifyElement modify)Gets the modify response and set the status to OK.com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseElementgetQueryResponse(com.sun.identity.liberty.ws.idpp.jaxb.QueryElement query)Gets the query response and set the status to OK.ObjectprocessDSTRequest(Object request, Message requestMsg, Message responseMsg)Processes query/modify request.com.sun.identity.liberty.ws.idpp.jaxb.ModifyResponseElementprocessModifyRequest(com.sun.identity.liberty.ws.idpp.jaxb.ModifyElement modify, String providerID, Message requestMsg, Document request)Processes modify request.com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseElementprocessQueryRequest(com.sun.identity.liberty.ws.idpp.jaxb.QueryElement query, String providerID, Message requestMsg, Document request)Processes Query Request.-
Methods inherited from class com.sun.identity.liberty.ws.dst.service.DSTRequestHandler
getResourceID, processRequest
-
-
-
-
Method Detail
-
processDSTRequest
public Object processDSTRequest(Object request, Message requestMsg, Message responseMsg) throws SOAPFaultException, DSTException
Processes query/modify request.- Specified by:
processDSTRequestin classDSTRequestHandler- Parameters:
request- query or modify object.requestMsg- Request Message.responseMsg- Response Message.- Returns:
- Object processed response object.
- Throws:
SOAPFaultException- for the interaction redirectsException- for any failure.DSTException- for failure.
-
processQueryRequest
public com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseElement processQueryRequest(com.sun.identity.liberty.ws.idpp.jaxb.QueryElement query, String providerID, Message requestMsg, Document request) throws IDPPException, SOAPFaultExceptionProcesses Query Request.- Parameters:
query- JAXBQ QueryElement Objectrequest- queryRequest.providerID- Provider ID.requestMsg- Request Message.- Returns:
- QueryResponseElement response.
- Throws:
IDPPException- for a failure in processing the requestSOAPFaultException- if the interaction is required
-
processModifyRequest
public com.sun.identity.liberty.ws.idpp.jaxb.ModifyResponseElement processModifyRequest(com.sun.identity.liberty.ws.idpp.jaxb.ModifyElement modify, String providerID, Message requestMsg, Document request) throws IDPPException, SOAPFaultExceptionProcesses modify request.- Parameters:
modify- ModifyElement JAXB Objectrequest- modify request.providerID- Provider ID.requestMsg- Request Message.- Returns:
- ModifyResponseElement response JAXB Object
- Throws:
IDPPException- for failure in processing the requestSOAPFaultException- for interaction redirect
-
getQueryResponse
public com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseElement getQueryResponse(com.sun.identity.liberty.ws.idpp.jaxb.QueryElement query) throws IDPPExceptionGets the query response and set the status to OK.- Parameters:
query- JAXB query object.- Returns:
- QueryResponseElement JAXB query response.
- Throws:
IDPPException
-
getModifyResponse
public com.sun.identity.liberty.ws.idpp.jaxb.ModifyResponseElement getModifyResponse(com.sun.identity.liberty.ws.idpp.jaxb.ModifyElement modify) throws IDPPExceptionGets the modify response and set the status to OK.- Parameters:
modify- JAXB modify object.- Returns:
- ModifyResponseElement JAXB modify response.
- Throws:
IDPPException
-
-