Class PPRequestHandler

  • All Implemented Interfaces:
    RequestHandler

    public class PPRequestHandler
    extends DSTRequestHandler
    The class PPRequestHandler is used to process the query or modify requests for a personal profile service.
    • Constructor Detail

      • PPRequestHandler

        public PPRequestHandler()
        Default constructor
    • Method Detail

      • 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,
                                                                                              SOAPFaultException
        Processes Query Request.
        Parameters:
        query - JAXBQ QueryElement Object
        request - queryRequest.
        providerID - Provider ID.
        requestMsg - Request Message.
        Returns:
        QueryResponseElement response.
        Throws:
        IDPPException - for a failure in processing the request
        SOAPFaultException - 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,
                                                                                                SOAPFaultException
        Processes modify request.
        Parameters:
        modify - ModifyElement JAXB Object
        request - modify request.
        providerID - Provider ID.
        requestMsg - Request Message.
        Returns:
        ModifyResponseElement response JAXB Object
        Throws:
        IDPPException - for failure in processing the request
        SOAPFaultException - for interaction redirect
      • getQueryResponse

        public com.sun.identity.liberty.ws.idpp.jaxb.QueryResponseElement getQueryResponse​(com.sun.identity.liberty.ws.idpp.jaxb.QueryElement query)
                                                                                    throws IDPPException
        Gets 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 IDPPException
        Gets the modify response and set the status to OK.
        Parameters:
        modify - JAXB modify object.
        Returns:
        ModifyResponseElement JAXB modify response.
        Throws:
        IDPPException