Package com.sun.identity.saml2.profile
Class XACMLQueryUtil
java.lang.Object
com.sun.identity.saml2.profile.XACMLQueryUtil
This class provides methods to send or process
AttributeQuery
.-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPolicyDecisionForFedlet
(javax.servlet.http.HttpServletRequest request, String pepEntityID, String pdpEntityID, String nameIDValue, String serviceName, String resource, String action) Sends the XACML query to specifiied PDP, gets the policy decision and sends it back to the Fedlet
-
Method Details
-
getPolicyDecisionForFedlet
@Supported public static String getPolicyDecisionForFedlet(javax.servlet.http.HttpServletRequest request, String pepEntityID, String pdpEntityID, String nameIDValue, String serviceName, String resource, String action) throws com.sun.identity.saml2.common.SAML2Exception Sends the XACML query to specifiied PDP, gets the policy decision and sends it back to the Fedlet- Parameters:
request
- HTTP Servlet RequestpepEntityID
- PEP entity IDpdpEntityID
- PDP entity IDnameIDValue
- NameID valueserviceName
- Service Nameresource
- Resource URLaction
- Action- Returns:
- the
String
object - Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the operation is not successful
-