Searched refs:match (Results 1 - 25 of 292) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/shared/resourcename/
H A DBaseURLResourceNameTest.java32 match(WILDCARD_MATCH, "http://example.com:80/fred/index.html", "http*://*example.com:*/fred/*", true);
33 match(WILDCARD_MATCH, "http://www.example.com:80/fred/index.html", "http*://*example.com:*/fred/*", true);
34 match(WILDCARD_MATCH, "http://www.google.com:80/asdf/hello/blah/wibble/asdf/blah",
36 match(WILDCARD_MATCH, "http://www.google.com.net", "http://www.google.com*", true);
37 match(WILDCARD_MATCH, "http://www.google.com:80/", "http://www.google.com:*", true);
38 match(WILDCARD_MATCH, "http://www.google.com.co.uk", "http://www.google.com*", true);
39 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80", "http://www.google.com*", true);
40 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80/", "http://www.google.com*", true);
41 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80/blah", "http://www.google.com*", true);
42 match(WILDCARD_MATC
88 private void match(ResourceMatch expected, String requestResource, String targetResource, boolean wildcard) { method in class:BaseURLResourceNameTest
[all...]
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/shared/resourcename/
H A DBaseURLResourceNameTest.java32 match(WILDCARD_MATCH, "http://example.com:80/fred/index.html", "http*://*example.com:*/fred/*", true);
33 match(WILDCARD_MATCH, "http://www.example.com:80/fred/index.html", "http*://*example.com:*/fred/*", true);
34 match(WILDCARD_MATCH, "http://www.google.com:80/asdf/hello/blah/wibble/asdf/blah",
36 match(WILDCARD_MATCH, "http://www.google.com.net", "http://www.google.com*", true);
37 match(WILDCARD_MATCH, "http://www.google.com:80/", "http://www.google.com:*", true);
38 match(WILDCARD_MATCH, "http://www.google.com.co.uk", "http://www.google.com*", true);
39 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80", "http://www.google.com*", true);
40 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80/", "http://www.google.com*", true);
41 match(WILDCARD_MATCH, "http://www.google.com.co.uk:80/blah", "http://www.google.com*", true);
42 match(WILDCARD_MATC
88 private void match(ResourceMatch expected, String requestResource, String targetResource, boolean wildcard) { method in class:BaseURLResourceNameTest
[all...]
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/forgerockrest/utils/
H A DJsonValueQueryFilterVisitor.java65 Object match) {
66 return filter(new Contains(match), jsonValue, jsonPointer);
70 private final Object match; field in class:JsonValueQueryFilterVisitor.Contains
72 public Contains(Object match) { argument
73 this.match = match;
78 return o.toString().toLowerCase().contains(match.toString().toLowerCase());
84 Object match) {
85 return filter(new Equals(match), jsonValue, jsonPointer);
89 private final Object match; field in class:JsonValueQueryFilterVisitor.Equals
64 visitContainsFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
83 visitEqualsFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
91 Equals(Object match) argument
104 visitStartsWithFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
110 private final Object match; field in class:JsonValueQueryFilterVisitor.StartsWith
112 StartsWith(Object match) argument
129 visitGreaterThanFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
136 GreaterThan(Object match) argument
148 visitLessThanFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
155 LessThan(Object match) argument
167 visitGreaterThanOrEqualToFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
174 GreaterThanEqualTo(Object match) argument
186 visitLessThanOrEqualToFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
193 LessThanEqualTo(Object match) argument
222 private final Object match; field in class:JsonValueQueryFilterVisitor.Comparison
224 Comparison(Object match) argument
[all...]
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/forgerockrest/utils/
H A DJsonValueQueryFilterVisitor.java65 Object match) {
66 return filter(new Contains(match), jsonValue, jsonPointer);
70 private final Object match; field in class:JsonValueQueryFilterVisitor.Contains
72 public Contains(Object match) { argument
73 this.match = match;
78 return o.toString().toLowerCase().contains(match.toString().toLowerCase());
84 Object match) {
85 return filter(new Equals(match), jsonValue, jsonPointer);
89 private final Object match; field in class:JsonValueQueryFilterVisitor.Equals
64 visitContainsFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
83 visitEqualsFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
91 Equals(Object match) argument
104 visitStartsWithFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
110 private final Object match; field in class:JsonValueQueryFilterVisitor.StartsWith
112 StartsWith(Object match) argument
129 visitGreaterThanFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
136 GreaterThan(Object match) argument
148 visitLessThanFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
155 LessThan(Object match) argument
167 visitGreaterThanOrEqualToFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
174 GreaterThanEqualTo(Object match) argument
186 visitLessThanOrEqualToFilter(JsonValue jsonValue, JsonPointer jsonPointer, Object match) argument
193 LessThanEqualTo(Object match) argument
222 private final Object match; field in class:JsonValueQueryFilterVisitor.Comparison
224 Comparison(Object match) argument
[all...]
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/
H A DIPatternMatcher.java38 public abstract boolean match(String str); method in interface:IPatternMatcher
/forgerock/openam-v13/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/
H A DAllOf.java67 "match"
72 protected List<Match> match; field in class:AllOf
75 * Gets the value of the match property.
81 * This is why there is not a <CODE>set</CODE> method for the match property.
97 if (match == null) {
98 match = new ArrayList<Match>();
100 return this.match;
/forgerock/openam/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/
H A DAllOf.java67 "match"
72 protected List<Match> match; field in class:AllOf
75 * Gets the value of the match property.
81 * This is why there is not a <CODE>set</CODE> method for the match property.
97 if (match == null) {
98 match = new ArrayList<Match>();
100 return this.match;
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/util/
H A DPatternRule.java46 boolean match = true;
59 match = false;
61 match = nextToken.consume(data.substring(index,
65 if(match) {
91 match = true;
109 match = false;
115 match = false;
119 if( !match) {
124 if(match) {
126 match
[all...]
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/constraints/
H A DConstraintValidatorImpl.java139 ResourceMatch match = resourceHandler.compare(pattern, resource, false);
141 if (match == ResourceMatch.EXACT_MATCH || match == ResourceMatch.SUB_RESOURCE_MATCH) {
145 match = resourceHandler.compare(resource, pattern, true);
147 if (match == ResourceMatch.WILDCARD_MATCH) {
170 ResourceMatch match = resourceHandler.compare(regex, resource, true);
172 if (match == ResourceMatch.EXACT_MATCH
173 || match == ResourceMatch.WILDCARD_MATCH
174 || match == ResourceMatch.SUB_RESOURCE_MATCH) {
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/constraints/
H A DConstraintValidatorImpl.java140 ResourceMatch match = resourceHandler.compare(normalisedPattern, resource, false);
142 if (match == ResourceMatch.EXACT_MATCH || match == ResourceMatch.SUB_RESOURCE_MATCH) {
146 match = resourceHandler.compare(resource, normalisedPattern, true);
148 if (match == ResourceMatch.WILDCARD_MATCH) {
171 ResourceMatch match = resourceHandler.compare(regex, resource, true);
173 if (match == ResourceMatch.EXACT_MATCH
174 || match == ResourceMatch.WILDCARD_MATCH
175 || match == ResourceMatch.SUB_RESOURCE_MATCH) {
/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/idm/
H A DIdRepoExceptionTest.java28 { "should match fully", "should match fully" },
37 public void testRegex(String match, String result) { argument
40 Object[] args = { null, null, match };
/forgerock/openam/openam-core/src/test/java/com/sun/identity/idm/
H A DIdRepoExceptionTest.java28 { "should match fully", "should match fully" },
37 public void testRegex(String match, String result) { argument
40 Object[] args = { null, null, match };
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java400 boolean match = patternDN.matchesDN(DN.decode(entryDN));
401 assertTrue(match, pattern + " did not match " + entryDN);
410 boolean match = patternDN.matchesDN(DN.decode(entryDN));
411 assertTrue(!match, pattern + " should not have matched " + entryDN);
430 boolean match = AciTargets.isTargetApplicable(aci,
433 assertTrue(match, aciString + " in entry " + aciDN +
444 boolean match = AciTargets.isTargetApplicable(aci,
447 assertTrue(!match, aciString + " in entry " + aciDN +
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java399 boolean match = patternDN.matchesDN(DN.decode(entryDN));
400 assertTrue(match, pattern + " did not match " + entryDN);
409 boolean match = patternDN.matchesDN(DN.decode(entryDN));
410 assertTrue(!match, pattern + " should not have matched " + entryDN);
429 boolean match = AciTargets.isTargetApplicable(aci,
432 assertTrue(match, aciString + " in entry " + aciDN +
443 boolean match = AciTargets.isTargetApplicable(aci,
446 assertTrue(!match, aciString + " in entry " + aciDN +
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java400 boolean match = patternDN.matchesDN(DN.decode(entryDN));
401 assertTrue(match, pattern + " did not match " + entryDN);
410 boolean match = patternDN.matchesDN(DN.decode(entryDN));
411 assertTrue(!match, pattern + " should not have matched " + entryDN);
430 boolean match = AciTargets.isTargetApplicable(aci,
433 assertTrue(match, aciString + " in entry " + aciDN +
444 boolean match = AciTargets.isTargetApplicable(aci,
447 assertTrue(!match, aciString + " in entry " + aciDN +
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java399 boolean match = patternDN.matchesDN(DN.decode(entryDN));
400 assertTrue(match, pattern + " did not match " + entryDN);
409 boolean match = patternDN.matchesDN(DN.decode(entryDN));
410 assertTrue(!match, pattern + " should not have matched " + entryDN);
429 boolean match = AciTargets.isTargetApplicable(aci,
432 assertTrue(match, aciString + " in entry " + aciDN +
443 boolean match = AciTargets.isTargetApplicable(aci,
446 assertTrue(!match, aciString + " in entry " + aciDN +
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java400 boolean match = patternDN.matchesDN(DN.decode(entryDN));
401 assertTrue(match, pattern + " did not match " + entryDN);
410 boolean match = patternDN.matchesDN(DN.decode(entryDN));
411 assertTrue(!match, pattern + " should not have matched " + entryDN);
430 boolean match = AciTargets.isTargetApplicable(aci,
433 assertTrue(match, aciString + " in entry " + aciDN +
444 boolean match = AciTargets.isTargetApplicable(aci,
447 assertTrue(!match, aciString + " in entry " + aciDN +
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/authorization/dseecompat/
H A DTargetTestCase.java400 boolean match = patternDN.matchesDN(DN.valueOf(entryDN));
401 assertTrue(match, pattern + " did not match " + entryDN);
410 boolean match = patternDN.matchesDN(DN.valueOf(entryDN));
411 assertFalse(match, pattern + " should not have matched " + entryDN);
430 boolean match = AciTargets.isTargetApplicable(aci,
433 assertTrue(match, aciString + " in entry " + aciDN +
444 boolean match = AciTargets.isTargetApplicable(aci,
447 assertFalse(match, aciString + " in entry " + aciDN + " incorrectly applied to " + entryDN);
/forgerock/opendj2/src/server/org/opends/server/api/
H A DSubstringMatchingRule.java84 * @return {@code true} if the provided value does match the given
121 boolean match = false;
138 match = subMatch;
144 if (match)
/forgerock/opendj-b2.6/src/server/org/opends/server/api/
H A DSubstringMatchingRule.java85 * @return {@code true} if the provided value does match the given
122 boolean match = false;
139 match = subMatch;
145 if (match)
/forgerock/opendj2.6.2/src/server/org/opends/server/api/
H A DSubstringMatchingRule.java85 * @return {@code true} if the provided value does match the given
122 boolean match = false;
139 match = subMatch;
145 if (match)
/forgerock/opendj2-hg/src/server/org/opends/server/api/
H A DSubstringMatchingRule.java84 * @return {@code true} if the provided value does match the given
121 boolean match = false;
138 match = subMatch;
144 if (match)
/forgerock/opendj2-jel-hg/src/server/org/opends/server/api/
H A DSubstringMatchingRule.java85 * @return {@code true} if the provided value does match the given
122 boolean match = false;
139 match = subMatch;
145 if (match)
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/opensso/
H A DDelegationResourceNameSplitter.java51 Matcher match = PATTERN.matcher(resource);
52 if (!match.matches()) {
57 String dn = match.group(2);
63 String prefix = match.group(1);
64 String suffix = match.group(3);
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/opensso/
H A DDelegationResourceNameSplitter.java51 Matcher match = PATTERN.matcher(resource);
52 if (!match.matches()) {
57 String dn = match.group(2);
63 String prefix = match.group(1);
64 String suffix = match.group(3);

Completed in 80 milliseconds

1234567891011>>