eu.semiramis.identityaggregator
Class InternalPDP

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

public class InternalPDP
extends java.lang.Object
implements PDP

Identity Aggregator - Internal Policy Decision Point (PDP)


Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.semiramis.identityaggregator.PDP
PDP.Action
 
Field Summary
protected  IdentityAggregator_Config config
           
protected  TrustManager trustManager
           
 
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
 Decision evaluate(javax.servlet.http.HttpServletRequest request, java.lang.String subject, PDP.Action action, java.lang.String resource, java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected IdentityAggregator_Config config

trustManager

protected TrustManager trustManager
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
Description copied from interface: PDP
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

evaluate

public Decision evaluate(javax.servlet.http.HttpServletRequest request,
                         java.lang.String subject,
                         PDP.Action action,
                         java.lang.String resource,
                         java.lang.String role)
                  throws PDPException
Throws:
PDPException