Package com.sun.identity.policy.remote
Class PolicyRequestHandler
- java.lang.Object
-
- com.sun.identity.policy.remote.PolicyRequestHandler
-
- All Implemented Interfaces:
RequestHandler
public class PolicyRequestHandler extends Object implements RequestHandler
ThePolicyRequestHandler
class handles the policy related service requests sent by the Policy Enforcers. Currently it supports two types of requests. One is PolicyRequest which requests for the policy evaluation decisions, the other is AddPolicyListener which adds a policy listener to a service to receive policy notifications which include policy change notification and subject change notification.
-
-
Constructor Summary
Constructors Constructor Description PolicyRequestHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
printStats(Stats policyStats)
ResponseSet
process(PLLAuditor auditor, List<Request> requests, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse, jakarta.servlet.ServletContext servletContext)
Process the requests aÎnd return the responses.
-
-
-
Method Detail
-
process
public ResponseSet process(PLLAuditor auditor, List<Request> requests, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse, jakarta.servlet.ServletContext servletContext)
Process the requests aÎnd return the responses.- Specified by:
process
in interfaceRequestHandler
- Parameters:
requests
- Requests specified in the policy requestauditor
- Delegate for publication of 'access' audit events.servletRequest
- Reference to HttpServletRequest object.servletResponse
- Reference to HttpServletResponse object.servletContext
- Reference to ServletContext object.- Returns:
- the set of the response
-
printStats
public static void printStats(Stats policyStats)
-
-