issrg.dis
Class DISRAPandParser
java.lang.Object
issrg.pba.rbac.PolicyFinder
issrg.pba.rbac.x509.SimplePERMISACPolicyFinder
issrg.pba.rbac.x509.RepositoryACPolicyFinder
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
Fields inherited from class issrg.pba.rbac.PolicyFinder |
accessPolicy, allocationPolicy, authzTokenRepository, filepath, msodPolicySet, parsedPolicy, policyOID, satLevel, sawsServer, soa, sv, tokenParser |
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 |
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 policyOID
- is the policy identifierSOA
- is the policy writer's DNSV
- is a signature verifier that used for verifying user's certificatelevel
- 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 policyOID
- is the policy identifierSOA
- is the policy writer's DNSV
- is a signature verifier that used for verifying user's certificate
- Throws:
java.lang.Exception
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