|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.PolicyFinder issrg.pba.rbac.x509.SimplePERMISACPolicyFinder issrg.pba.rbac.x509.RepositoryACPolicyFinder issrg.pba.management.agent.managed.ManagedRepositoryACPolicyFinder
public class ManagedRepositoryACPolicyFinder
a managed policy finder.
based on the repository policy finder.
this class will retain information, not retained by the sub class, which is necessary to be able to re initialise the policy from the source location (i.e. the repository).
this class will implement the ManagedPolicyFinder interface, which the managed-engine uses to interface with this managed-policy-finder.
Field Summary |
---|
Fields inherited from class issrg.pba.rbac.PolicyFinder |
---|
accessPolicy, allocationPolicy, authzTokenRepository, filepath, msodPolicySet, parsedPolicy, policyOID, satLevel, sawsServer, soa, sv, tokenParser |
Constructor Summary | |
---|---|
ManagedRepositoryACPolicyFinder(AttributeRepository attRep,
java.lang.String policyName,
java.security.Principal soaPrincipalParam,
SignatureVerifier signatureVerifier)
This constructor adds the recording of the SOA principal. |
|
ManagedRepositoryACPolicyFinder(AttributeRepository attRep,
java.lang.String policyName,
java.security.Principal soaPrincipalParam,
SignatureVerifier signatureVerifier,
int satLevel)
This constructor adds the recording of the SOA constructor. |
Method Summary | |
---|---|
java.security.Principal |
getPrincipalSOA()
Source of Authority. |
java.lang.String |
updatePolicy(AttributeRepository attributeRepository,
java.lang.String policyName)
This will replace the existing policy with a new one found in the repository. |
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 |
---|
public ManagedRepositoryACPolicyFinder(AttributeRepository attRep, java.lang.String policyName, java.security.Principal soaPrincipalParam, SignatureVerifier signatureVerifier) throws PbaException
attRep
- -
the AttributeRepository with the SOA's entry in it
containing the X.509 Attribute Certificates, one of which
must have the PERMIS PolicypolicyName
- -
the identifier of the Policy that must be loaded (Policy
OID in PERMIS XML)soaPrincipalParam
- -
the Principal naming the SOA's entry in the
AttributeRepositorysignatureVerifier
- -
the SignatureVerifier to be used to validate the
signatures on the X.509 Attribute Certificates; if null,
no signature verification is performed
PbaException
- if there was a problem loading the ACs, or if there was a
problem to initialise the Policy Finder with the ACs that
were found.public ManagedRepositoryACPolicyFinder(AttributeRepository attRep, java.lang.String policyName, java.security.Principal soaPrincipalParam, SignatureVerifier signatureVerifier, int satLevel) throws PbaException
attRep
- -
the AttributeRepository with the SOA's entry in it
containing the X.509 Attribute Certificates, one of which
must have the PERMIS PolicypolicyName
- -
the identifier of the Policy that must be loaded (Policy
OID in PERMIS XML)soaPrincipalParam
- -
the Principal naming the SOA's entry in the
AttributeRepositorysignatureVerifier
- -
the SignatureVerifier to be used to validate the
signatures on the X.509 Attribute Certificates; if null,
no signature verification is performedsatLevel
- ??
PbaException
- if there was a problem loading the ACs, or if there was a
problem to initialise the Policy Finder with the ACs that
were found.Method Detail |
---|
public java.security.Principal getPrincipalSOA()
getPrincipalSOA
in interface ManagedPolicyFinder
public java.lang.String updatePolicy(AttributeRepository attributeRepository, java.lang.String policyName) throws PbaException
updatePolicy
in interface ManagedPolicyFinder
attributeRepository
- used to locate or contains the policy.policyName
- the unique policy name.
PbaException
- if the policy update failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |