org.aselect.agent.authorization.parsing
Class AuthorizationRule

java.lang.Object
  extended by org.aselect.agent.authorization.parsing.AuthorizationRule

public class AuthorizationRule
extends java.lang.Object

An A-Select Authorization rule.

Description:
Contains the parsed authorization rules as well as the String representation and the URI.

Concurrency issues:
-

Author:
Alfa & Ariss

Constructor Summary
AuthorizationRule(java.lang.String sPlainTextRule, java.lang.String sURI, EvaluationTree tEvaluation)
          Create a new AuthorizationRule.
 
Method Summary
 EvaluationTree getEvaluationTree()
          retrieve the parsed evaluation tree.
 java.lang.String getPlainTextRule()
          Retrieve the Rule in plain text.
 java.lang.String getURI()
          Retrieve the URI that this rule belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationRule

public AuthorizationRule(java.lang.String sPlainTextRule,
                         java.lang.String sURI,
                         EvaluationTree tEvaluation)
Create a new AuthorizationRule.

Parameters:
sPlainTextRule - The rule in plain text.
sURI - The request URI for this rule.
tEvaluation - The parsed evaluation rule.
Method Detail

getPlainTextRule

public java.lang.String getPlainTextRule()
Retrieve the Rule in plain text.

Returns:
Returns the Plain Text Rule.

getURI

public java.lang.String getURI()
Retrieve the URI that this rule belongs to.

Returns:
Returns the _sURI.

getEvaluationTree

public EvaluationTree getEvaluationTree()
retrieve the parsed evaluation tree.

Returns:
Returns the evaluation tree.


Copyright © 2008 SURFnet BV. All Rights Reserved.