net.ponder2.policy
Class StaticAuthPolicySearch

java.lang.Object
  extended by net.ponder2.policy.AuthPolicySearch
      extended by net.ponder2.policy.StaticAuthPolicySearch

public class StaticAuthPolicySearch
extends AuthPolicySearch


Field Summary
 
Fields inherited from class net.ponder2.policy.AuthPolicySearch
AUTH, NOTAUTH, POL_NOT_DEFINED
 
Constructor Summary
StaticAuthPolicySearch()
           
 
Method Summary
 short search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
 
Methods inherited from class net.ponder2.policy.AuthPolicySearch
buildPath, evaluate, printState, printVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticAuthPolicySearch

public StaticAuthPolicySearch()
Method Detail

search

public short search(AuthPolicyHolder holder,
                    short pepType,
                    P2Object subject,
                    P2Object target,
                    java.lang.String action,
                    char focus,
                    P2Object[] args,
                    P2Object result)
This is the main method called externally for performing the search of an applicable policy.

Specified by:
search in class AuthPolicySearch
Parameters:
holder - The holder vector is used to hold policy used in PEP1 and PEP2 to be used also in the respective returning part
pepType - specifies the PEP type
subject - the subject OID
target - the target OID
action - the action performed by the subject on the target
focus - whether the policy that should be found is a subject or a target policy
args - the arguments used for the evaluation of the condition
result - the standard Result used in Ponder
Returns:
the condition state - AUTH, NOTAUTH or POL_NOT_DEFINED


Copyright © 2008 Imperial College. All Rights Reserved.