it.eng.rdlab.soa3.pm.connector.service.jaxrs
Class PolicyDecisionService

java.lang.Object
  extended by it.eng.rdlab.soa3.pm.connector.service.jaxrs.PolicyDecisionService

public class PolicyDecisionService
extends Object


Constructor Summary
PolicyDecisionService()
           
 
Method Summary
 javax.ws.rs.core.Response getDecision(PolicyRequestBean requestBean)
          POST based query with complex datasent
 javax.ws.rs.core.Response getDecision(String role, String action, String resource, com.sun.jersey.api.core.HttpContext context)
          Simple query for a default role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyDecisionService

public PolicyDecisionService()
Method Detail

getDecision

public javax.ws.rs.core.Response getDecision(String role,
                                             String action,
                                             String resource,
                                             @Context
                                             com.sun.jersey.api.core.HttpContext context)
Simple query for a default role

Parameters:
role -
action -
resource -
context -
Returns:

getDecision

public javax.ws.rs.core.Response getDecision(PolicyRequestBean requestBean)
POST based query with complex datasent

Parameters:
ruleBean -
Returns:


Copyright © 2013. All Rights Reserved.