Package com.sun.identity.policy.client
Class ResultsCacheUtil
- java.lang.Object
-
- com.sun.identity.policy.client.ResultsCacheUtil
-
public class ResultsCacheUtil extends Object
This class provides a bridge between the end point on policy client that is listening for notifications from policy service and policy client cache.
-
-
Constructor Summary
Constructors Constructor Description ResultsCacheUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprocessNotification(String xml)Processes notifications forwarded from the endpoint on policy client that is listening for notifications from policy servicestatic voidprocessRESTNotification(String message)Processes REST notifications forwarded from the endpoint on policy client that is listening for notifications from policy service
-
-
-
Method Detail
-
processNotification
public static void processNotification(String xml) throws PolicyEvaluationException
Processes notifications forwarded from the endpoint on policy client that is listening for notifications from policy service- Parameters:
xml- XML notification envelope- Throws:
PolicyEvaluationException
-
processRESTNotification
public static void processRESTNotification(String message) throws PolicyEvaluationException
Processes REST notifications forwarded from the endpoint on policy client that is listening for notifications from policy service- Parameters:
message- notification as JSON string- Throws:
PolicyEvaluationException
-
-