issrg.dis
Class SimpleDISRAPandParser

java.lang.Object
  extended by issrg.pba.rbac.PolicyFinder
      extended by issrg.simplePERMIS.SimplePERMISPolicyFinder
          extended by issrg.dis.SimpleDISRAPandParser

public class SimpleDISRAPandParser
extends SimplePERMISPolicyFinder

This class tries to retrieve the policy from a text file for the DIS and creates some required object for the DIS: comparator, token parser and parsed policy

Author:
anhnt

Field Summary
 
Fields inherited from class issrg.pba.rbac.PolicyFinder
accessPolicy, allocationPolicy, authzTokenRepository, filepath, msodPolicySet, parsedPolicy, policyOID, satLevel, sawsServer, soa, sv, tokenParser
 
Constructor Summary
SimpleDISRAPandParser(java.lang.String filePath, SignatureVerifier SV)
          This constructor used for creating the object without debuging level
SimpleDISRAPandParser(java.lang.String filePath, SignatureVerifier SV, Level level)
          This constructor used for creating the object with debuging level
 
Method Summary
 AuthzTokenParser getAuthzTokenParser()
          This function return the tokenPaser that is used for decode the AC
 RuleComparator getComparator()
          This function return the comparator used in the DIS
 PolicyParser getPolicyPaser()
          This function return the parsed policy
 
Methods inherited from class issrg.simplePERMIS.SimplePERMISPolicyFinder
initFromString
 
Methods inherited from class issrg.pba.rbac.PolicyFinder
getAccessPolicy, getAllocationPolicy, getfilepath, getMSoDPolicy, getParsedPolicy, getPolicyOID, getRepository, getSATLevel, getSAWSServer, getSOA, getSV, removeSystemTag, SAWSCloseLog, setSV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDISRAPandParser

public SimpleDISRAPandParser(java.lang.String filePath,
                             SignatureVerifier SV,
                             Level level)
                      throws java.lang.Exception,
                             java.lang.Throwable
This constructor used for creating the object with debuging level

Parameters:
filePath - is the path to the policy file
SV - is a signature verifier that used for verifying user's certificate
level - is the debuging level
Throws:
java.lang.Exception
java.lang.Throwable

SimpleDISRAPandParser

public SimpleDISRAPandParser(java.lang.String filePath,
                             SignatureVerifier SV)
                      throws java.lang.Exception,
                             java.lang.Throwable
This constructor used for creating the object without debuging level

Parameters:
filePath - is the path to the policy file
SV - is a signature verifier that used for verifying user's certificate
Throws:
java.lang.Exception
java.lang.Throwable
Method Detail

getComparator

public RuleComparator getComparator()
This function return the comparator used in the DIS

Returns:
comparator

getPolicyPaser

public PolicyParser getPolicyPaser()
This function return the parsed policy

Returns:
parsedPolicy is the parsed policy

getAuthzTokenParser

public AuthzTokenParser getAuthzTokenParser()
This function return the tokenPaser that is used for decode the AC

Returns:
tokenParser