Searched refs:evaluator (Results 1 - 25 of 78) sorted by relevance

1234

/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/
H A DEntitlementEvaluatorFactory.java37 * Factory delivers up evaluators that call into the entitlements evaluator.
49 * Wraps the passed entitlement evaluator, delegating calls appropriately.
52 * the entitlement evaluator as it has various resource constraints.
58 private final Evaluator evaluator; field in class:EntitlementEvaluatorFactory.EntitlementEvaluatorWrapper
60 public EntitlementEvaluatorWrapper(final Evaluator evaluator) { argument
61 this.evaluator = evaluator;
66 return evaluator.evaluate(request.getRealm(), request.getPolicySubject(),
72 return evaluator.evaluate(request.getRealm(), request.getPolicySubject(),
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/
H A DEntitlementEvaluatorFactory.java37 * Factory delivers up evaluators that call into the entitlements evaluator.
49 * Wraps the passed entitlement evaluator, delegating calls appropriately.
52 * the entitlement evaluator as it has various resource constraints.
58 private final Evaluator evaluator; field in class:EntitlementEvaluatorFactory.EntitlementEvaluatorWrapper
60 public EntitlementEvaluatorWrapper(final Evaluator evaluator) { argument
61 this.evaluator = evaluator;
66 return evaluator.evaluate(request.getRealm(), request.getPolicySubject(),
72 return evaluator.evaluate(request.getRealm(), request.getPolicySubject(),
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/authz/
H A DAnyPrivilegeAuthzModule.java37 public AnyPrivilegeAuthzModule(DelegationEvaluator evaluator, Map<String, PrivilegeDefinition> actionToDefinition, argument
39 super(evaluator, actionToDefinition, permissionFactory, sessionCache, coreWrapper);
H A DPrivilegeAuthzModule.java79 private final DelegationEvaluator evaluator; field in class:PrivilegeAuthzModule
86 public PrivilegeAuthzModule(final DelegationEvaluator evaluator, argument
90 this.evaluator = evaluator;
189 if (evaluator.isAllowed(subjectContext.getCallerSSOToken(), permissionRequest,
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/xacml/v3/rest/
H A DXacmlServiceTestWrapper.java38 RestLog restLog, DelegationEvaluator evaluator, JacksonRepresentationFactory jacksonRepresentationFactory) {
39 super(importExport, adminTokenAction, debug, restLog, evaluator, jacksonRepresentationFactory);
37 XacmlServiceTestWrapper(XACMLExportImport importExport, AdminTokenAction adminTokenAction, Debug debug, RestLog restLog, DelegationEvaluator evaluator, JacksonRepresentationFactory jacksonRepresentationFactory) argument
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/authz/
H A DAnyPrivilegeAuthzModule.java39 public AnyPrivilegeAuthzModule(DelegationEvaluator evaluator, argument
43 super(evaluator, actionToDefinition, permissionFactory, coreWrapper, ssoTokenManager);
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/xacml/v3/rest/
H A DXacmlServiceTestWrapper.java38 RestLog restLog, DelegationEvaluator evaluator, JacksonRepresentationFactory jacksonRepresentationFactory) {
39 super(importExport, adminTokenAction, debug, restLog, evaluator, jacksonRepresentationFactory);
37 XacmlServiceTestWrapper(XACMLExportImport importExport, AdminTokenAction adminTokenAction, Debug debug, RestLog restLog, DelegationEvaluator evaluator, JacksonRepresentationFactory jacksonRepresentationFactory) argument
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DSingleWildCardEvaluatorTest.java110 Evaluator evaluator = new Evaluator(
113 boolean result = evaluator.hasEntitlement("/", adminSubject,
131 Evaluator evaluator = new Evaluator(
134 boolean result = evaluator.hasEntitlement("/", adminSubject,
H A DNumericAttributeConditionEvaluation.java98 Evaluator evaluator = new Evaluator(
105 Boolean result = evaluator.hasEntitlement("/", null,
118 Evaluator evaluator = new Evaluator(
125 Boolean result = evaluator.hasEntitlement("/", null,
H A DStringAttributeConditionEvaluation.java103 Evaluator evaluator = new Evaluator(
110 Boolean result = evaluator.hasEntitlement("/", null,
121 Evaluator evaluator = new Evaluator(
129 List<Entitlement> entitlements = evaluator.evaluate(
H A DHttpStarEvaluationTest.java88 Evaluator evaluator = new Evaluator(adminSubject,
90 boolean allow = evaluator.hasEntitlement("/", adminSubject,
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DSingleWildCardEvaluatorTest.java105 Evaluator evaluator = new Evaluator(
108 boolean result = evaluator.hasEntitlement("/", adminSubject,
126 Evaluator evaluator = new Evaluator(
129 boolean result = evaluator.hasEntitlement("/", adminSubject,
H A DNumericAttributeConditionEvaluation.java97 Evaluator evaluator = new Evaluator(
104 Boolean result = evaluator.hasEntitlement("/", null,
117 Evaluator evaluator = new Evaluator(
124 Boolean result = evaluator.hasEntitlement("/", null,
H A DStringAttributeConditionEvaluation.java102 Evaluator evaluator = new Evaluator(
109 Boolean result = evaluator.hasEntitlement("/", null,
120 Evaluator evaluator = new Evaluator(
128 List<Entitlement> entitlements = evaluator.evaluate(
H A DHttpStarEvaluationTest.java88 Evaluator evaluator = new Evaluator(adminSubject,
90 boolean allow = evaluator.hasEntitlement("/", adminSubject,
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/
H A DPolicyResourceEvaluationTest.java62 private PolicyEvaluator evaluator; field in class:PolicyResourceEvaluationTest
100 given(factory.getEvaluator(restSubject, "some-application")).willReturn(evaluator);
105 given(evaluator.routePolicyRequest(policyRequest)).willReturn(decisions);
120 verify(evaluator).routePolicyRequest(policyRequest);
124 policyRequest, factory, evaluator, parser);
136 given(factory.getEvaluator(restSubject, "some-application")).willReturn(evaluator);
141 given(evaluator.routePolicyRequest(policyRequest)).willReturn(decisions);
156 verify(evaluator).routePolicyRequest(policyRequest);
161 policyRequest, factory, evaluator, parser);
184 policyRequest, factory, evaluator, parse
[all...]
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/
H A DPolicyResourceEvaluationTest.java65 private PolicyEvaluator evaluator; field in class:PolicyResourceEvaluationTest
112 given(factory.getEvaluator(restSubject, "some-application")).willReturn(evaluator);
117 given(evaluator.routePolicyRequest(policyRequest)).willReturn(decisions);
132 verify(evaluator).routePolicyRequest(policyRequest);
136 policyRequest, factory, evaluator, parser);
149 given(factory.getEvaluator(restSubject, "some-application")).willReturn(evaluator);
154 given(evaluator.routePolicyRequest(policyRequest)).willReturn(decisions);
169 verify(evaluator).routePolicyRequest(policyRequest);
174 policyRequest, factory, evaluator, parser);
196 verifyNoMoreInteractions(requestFactory, policyRequest, factory, evaluator, parse
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DEvaluator.java60 * Constructor to create an evaluator of default service type.
83 * Constructor to create an evaluator given the service type.
88 * which this evaluator can be used.
100 * Constructor to create an evaluator the default service type.
133 PrivilegeEvaluator evaluator = new PrivilegeEvaluator();
134 boolean result = evaluator.hasEntitlement(realm,
216 PrivilegeEvaluator evaluator = new PrivilegeEvaluator();
217 List<Entitlement> results = evaluator.evaluate(realm, adminSubject, subject,
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DEvaluator.java74 * Constructor to create an evaluator the default service type.
84 * Constructor to create an evaluator given the service type.
87 * @param applicationName the name of the aplication for which this evaluator can be used.
125 PrivilegeEvaluator evaluator = new PrivilegeEvaluator();
126 boolean result = evaluator.hasEntitlement(realm,
201 PrivilegeEvaluator evaluator = new PrivilegeEvaluator();
202 List<Entitlement> results = evaluator.evaluate(realm, adminSubject, subject,
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/model/json/
H A DBatchPolicyRequest.java53 public List<Entitlement> dispatch(final PolicyEvaluator evaluator) throws EntitlementException { argument
54 return evaluator.evaluateBatch(this);
H A DTreePolicyRequest.java52 public List<Entitlement> dispatch(final PolicyEvaluator evaluator) throws EntitlementException { argument
53 return evaluator.evaluateTree(this);
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/model/json/
H A DBatchPolicyRequest.java53 public List<Entitlement> dispatch(final PolicyEvaluator evaluator) throws EntitlementException { argument
54 return evaluator.evaluateBatch(this);
H A DTreePolicyRequest.java52 public List<Entitlement> dispatch(final PolicyEvaluator evaluator) throws EntitlementException { argument
53 return evaluator.evaluateTree(this);
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/authz/
H A DPrivilegeAuthzModule.java68 private final DelegationEvaluator evaluator; field in class:PrivilegeAuthzModule
78 * @param evaluator The Delegation Evaluator.
84 public PrivilegeAuthzModule(DelegationEvaluator evaluator, Map<String, PrivilegeDefinition> actionToDefinition, argument
86 this.evaluator = evaluator;
140 if (evaluator.isAllowed(subjectContext.getCallerSSOToken(), permissionRequest,
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/idpp/plugin/
H A DIDPPAuthorizer.java61 private static PolicyEvaluator evaluator = null; field in class:IDPPAuthorizer
64 evaluator = new PolicyEvaluator(IDPPConstants.IDPP_SERVICE);
142 PolicyDecision policyDecision = evaluator.getPolicyDecision(

Completed in 2346 milliseconds

1234