public class PAPPolicyFinder
extends org.wso2.balana.finder.PolicyFinderModule
Constructor and Description |
---|
PAPPolicyFinder(PAPPolicyStoreReader policyReader)
Creates a PAPPolicyFinder that provides access to the given collection of policies.
|
Modifier and Type | Method and Description |
---|---|
org.wso2.balana.finder.PolicyFinderResult |
findPolicy(org.wso2.balana.ctx.EvaluationCtx context) |
org.wso2.balana.finder.PolicyFinderResult |
findPolicy(URI idReference,
int type,
org.wso2.balana.VersionConstraints constraints,
org.wso2.balana.PolicyMetaData parentMetaData) |
void |
init(org.wso2.balana.finder.PolicyFinder finder) |
void |
initPolicyIds() |
boolean |
isIdReferenceSupported()
Always returns
true since this module does support finding policies based on
reference. |
boolean |
isRequestSupported() |
void |
setPolicyIds(List<String> policyIds)
Sets polices ids that is evaluated
|
public PAPPolicyFinder(PAPPolicyStoreReader policyReader)
policyReader
- Policy store repository for Registrypublic boolean isIdReferenceSupported()
true
since this module does support finding policies based on
reference.isIdReferenceSupported
in class org.wso2.balana.finder.PolicyFinderModule
public boolean isRequestSupported()
isRequestSupported
in class org.wso2.balana.finder.PolicyFinderModule
public void init(org.wso2.balana.finder.PolicyFinder finder)
init
in class org.wso2.balana.finder.PolicyFinderModule
public org.wso2.balana.finder.PolicyFinderResult findPolicy(URI idReference, int type, org.wso2.balana.VersionConstraints constraints, org.wso2.balana.PolicyMetaData parentMetaData)
findPolicy
in class org.wso2.balana.finder.PolicyFinderModule
public org.wso2.balana.finder.PolicyFinderResult findPolicy(org.wso2.balana.ctx.EvaluationCtx context)
findPolicy
in class org.wso2.balana.finder.PolicyFinderModule
public void setPolicyIds(List<String> policyIds)
policyIds
- public void initPolicyIds() throws EntitlementException
EntitlementException
Copyright © 2016 WSO2. All rights reserved.