public class PolicyRequestHandler extends Object implements RequestHandler
PolicyRequestHandler
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 and Description |
---|
PolicyRequestHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
printStats(Stats policyStats) |
ResponseSet |
process(PLLAuditor auditor,
List<Request> requests,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.servlet.ServletContext servletContext)
Process the requests aÎnd return the responses.
|
public ResponseSet process(PLLAuditor auditor, List<Request> requests, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.servlet.ServletContext servletContext)
process
in interface RequestHandler
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.public static void printStats(Stats policyStats)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.