issrg.dis
Class DISRAPandParser

java.lang.Object
  extended by issrg.pba.rbac.PolicyFinder
      extended by issrg.pba.rbac.x509.SimplePERMISACPolicyFinder
          extended by issrg.pba.rbac.x509.RepositoryACPolicyFinder
              extended by issrg.dis.DISRAPandParser

public class DISRAPandParser
extends RepositoryACPolicyFinder

This class tries to retrieve the policy 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
DISRAPandParser(AttributeRepository R, java.lang.String OID, LDAPDNPrincipal SOA, SignatureVerifier SV)
          This constructor used for creating the object without debug level
DISRAPandParser(AttributeRepository R, java.lang.String OID, LDAPDNPrincipal SOA, SignatureVerifier SV, Level level)
          This constructor used for creating the object with debug 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.pba.rbac.x509.RepositoryACPolicyFinder
initPolicyFromRepository
 
Methods inherited from class issrg.pba.rbac.x509.SimplePERMISACPolicyFinder
initPolicyFromACArray
 
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

DISRAPandParser

public DISRAPandParser(AttributeRepository R,
                       java.lang.String OID,
                       LDAPDNPrincipal SOA,
                       SignatureVerifier SV,
                       Level level)
                throws java.lang.Exception
This constructor used for creating the object with debug level

Parameters:
R - is an attribute repository that stores the policy
OID - is the policy identifier
SOA - is the policy writer's DN
SV - is a signature verifier that used for verifying user's certificate
level - is the debuging level
Throws:
java.lang.Exception

DISRAPandParser

public DISRAPandParser(AttributeRepository R,
                       java.lang.String OID,
                       LDAPDNPrincipal SOA,
                       SignatureVerifier SV)
                throws java.lang.Exception
This constructor used for creating the object without debug level

Parameters:
R - is an attribute repository that stores the policy
OID - is the policy identifier
SOA - is the policy writer's DN
SV - is a signature verifier that used for verifying user's certificate
Throws:
java.lang.Exception
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