com.sun.identity.saml2.profile
Class XACMLQueryUtil

java.lang.Object
  extended by com.sun.identity.saml2.profile.XACMLQueryUtil

public class XACMLQueryUtil
extends Object

This class provides methods to send or processs AttributeQuery.


Method Summary
static String getPolicyDecisionForFedlet(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 Detail

getPolicyDecisionForFedlet

public static String getPolicyDecisionForFedlet(HttpServletRequest request,
                                                String pepEntityID,
                                                String pdpEntityID,
                                                String nameIDValue,
                                                String serviceName,
                                                String resource,
                                                String action)
                                         throws SAML2Exception
Sends the XACML query to specifiied PDP, gets the policy decision and sends it back to the Fedlet

Parameters:
request - HTTP Servlet Request
pepEntityID - PEP entity ID
pdpEntityID - PDP entity ID
nameIDValue - NameID value
serviceName - Service Name
resource - Resource URL
action - Action
Returns:
the String object
Throws:
SAML2Exception - if the operation is not successful