eu.semiramis.identityaggregator
Class PolicyMgmtPDP

java.lang.Object
  extended by eu.semiramis.identityaggregator.PolicyMgmtPDP
All Implemented Interfaces:
PDP

public class PolicyMgmtPDP
extends java.lang.Object
implements PDP

PolicyMgmtPDP


Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.semiramis.identityaggregator.PDP
PDP.Action
 
Constructor Summary
PolicyMgmtPDP(IdentityAggregator_Config config)
           
 
Method Summary
 Decision evaluate(javax.servlet.http.HttpServletRequest request, PDP.Action action, java.lang.String issuer, java.lang.String requestor, java.lang.String target, java.lang.String subject, java.lang.String resource)
          Evaluates the policies to determine whether the request is authorized or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyMgmtPDP

public PolicyMgmtPDP(IdentityAggregator_Config config)
Method Detail

evaluate

public Decision evaluate(javax.servlet.http.HttpServletRequest request,
                         PDP.Action action,
                         java.lang.String issuer,
                         java.lang.String requestor,
                         java.lang.String target,
                         java.lang.String subject,
                         java.lang.String resource)
                  throws PDPException
Evaluates the policies to determine whether the request is authorized or not

Specified by:
evaluate in interface PDP
Parameters:
request - the servlet request.
action - the requested action
issuer - the immediate issuer of the request
requestor - the origin issuer of the request
target - the target service that will serve the request
subject - the id of the subject whose resource is requested
resource - the resource that is being requested
Returns:
a decision
Throws:
PDPException