Searched defs:targetResource (Results 1 - 18 of 18) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DHttpURLResourceName.java50 public ResourceMatch compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
54 targetResource = canonicalize(targetResource);
60 return super.compare(requestResource, targetResource, wildcardCompare);
H A DSuffixResourceName.java108 * Description: The targetResource may contain wildcard '*' which
110 * can show up anywhere within the string. The targetResource
118 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
120 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
126 * @param targetResource name of the resource which will be compared with
134 String targetResource,
139 int beginIndex2 = 0; // index pointer for targetResource
140 int endIndex2 = 0; // index pointer for targetResource
146 if ((requestResource == null) && (targetResource == null)) {
151 if (((requestResource == null) || (targetResource
133 compare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/whitelist/
H A DHttpURLResourceName.java56 * Description: The targetResource may contain wildcard '*' which
58 * can show up anywhere within the string. The targetResource
66 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
68 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
74 * @param targetResource name of the resource which will be compared with
82 String targetResource,
85 if ((requestResource == null) || (targetResource == null)) {
92 + "; policy resource=" + targetResource);
98 int targetIndex = targetResource.indexOf("?");
110 String targetSubstring1 = targetResource;
81 compare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/whitelist/
H A DHttpURLResourceName.java56 * Description: The targetResource may contain wildcard '*' which
58 * can show up anywhere within the string. The targetResource
66 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
68 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
74 * @param targetResource name of the resource which will be compared with
82 String targetResource,
85 if ((requestResource == null) || (targetResource == null)) {
92 + "; policy resource=" + targetResource);
98 int targetIndex = targetResource.indexOf("?");
110 String targetSubstring1 = targetResource;
81 compare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DHttpURLResourceName.java50 public ResourceMatch compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
54 targetResource = canonicalize(targetResource);
60 return super.compare(requestResource, targetResource, wildcardCompare);
H A DSuffixResourceName.java108 * Description: The targetResource may contain wildcard '*' which
110 * can show up anywhere within the string. The targetResource
118 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
120 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
126 * @param targetResource name of the resource which will be compared with
134 String targetResource,
139 int beginIndex2 = 0; // index pointer for targetResource
140 int endIndex2 = 0; // index pointer for targetResource
146 if ((requestResource == null) && (targetResource == null)) {
151 if (((requestResource == null) || (targetResource
133 compare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DURLResourceName.java64 protected String normalizeTargetResource(String targetResource) { argument
65 return PrefixResourceName.doTargetResourceNormalization(targetResource);
H A DPrefixResourceName.java68 protected String normalizeTargetResource(String targetResource) { argument
69 return doTargetResourceNormalization(targetResource);
109 String targetResource = originalTargetResource;
110 // get rid of ending '?*' if any from targetResource
112 while (targetResource.endsWith(PARAM_WILDCARD)) {
113 int len = targetResource.length();
114 targetResource = targetResource.substring(0, len - 2);
116 return targetResource;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DURLResourceName.java64 protected String normalizeTargetResource(String targetResource) { argument
65 return PrefixResourceName.doTargetResourceNormalization(targetResource);
H A DPrefixResourceName.java68 protected String normalizeTargetResource(String targetResource) { argument
69 return doTargetResourceNormalization(targetResource);
109 String targetResource = originalTargetResource;
110 // get rid of ending '?*' if any from targetResource
112 while (targetResource.endsWith(PARAM_WILDCARD)) {
113 int len = targetResource.length();
114 targetResource = targetResource.substring(0, len - 2);
116 return targetResource;
/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/shared/resourcename/
H A DBaseURLResourceNameTest.java88 private void match(ResourceMatch expected, String requestResource, String targetResource, boolean wildcard) { argument
89 ResourceMatch result = resourceName.compare(requestResource, targetResource, wildcard);
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DExactMatchResourceName.java107 String targetResource,
110 if (matches(requestResource, targetResource)) {
115 if (compare(requestResource, targetResource) == 0) {
105 compare( String requestResource, String targetResource, boolean wildcardCompare) argument
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/shared/resourcename/
H A DBaseURLResourceNameTest.java88 private void match(ResourceMatch expected, String requestResource, String targetResource, boolean wildcard) { argument
89 ResourceMatch result = resourceName.compare(requestResource, targetResource, wildcard);
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DExactMatchResourceName.java107 String targetResource,
110 if (matches(requestResource, targetResource)) {
115 if (compare(requestResource, targetResource) == 0) {
105 compare( String requestResource, String targetResource, boolean wildcardCompare) argument
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/resourcename/
H A DBasePrefixResourceName.java169 * Description: The targetResource may contain wildcard or
172 * can show up anywhere within the string. The targetResource
183 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
185 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
191 * @param targetResource name of the resource which will be compared with
198 public T compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
201 if (requestResource == null && targetResource == null) {
206 if (requestResource == null || targetResource == null) {
215 targetResource = targetResource
357 normalizeTargetResource(String targetResource) argument
401 oneLevelWildcardCompare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
H A DBaseURLResourceName.java78 * @param targetResource name of the resource which will be compared with
84 public T compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
86 return super.compare(requestResource, targetResource, wildcardCompare);
89 String schemelessTarget = targetResource;
96 return super.compare(requestResource, targetResource, wildcardCompare);
103 return super.compare(requestResource, targetResource, wildcardCompare);
106 T schemeMatch = compareBeforeBreakpoint(requestResource, targetResource, SCHEME_DELIMITER);
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/resourcename/
H A DBasePrefixResourceName.java169 * Description: The targetResource may contain wildcard or
172 * can show up anywhere within the string. The targetResource
183 * ResourceMatch.SUB_RESOURCE_MATCH means targetResource is
185 * ResourceMatch.SUPER_RESOURCE_MATCH means targetResource
191 * @param targetResource name of the resource which will be compared with
198 public T compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
201 if (requestResource == null && targetResource == null) {
206 if (requestResource == null || targetResource == null) {
215 targetResource = targetResource
357 normalizeTargetResource(String targetResource) argument
401 oneLevelWildcardCompare(String requestResource, String targetResource, boolean wildcardCompare) argument
[all...]
H A DBaseURLResourceName.java78 * @param targetResource name of the resource which will be compared with
84 public T compare(String requestResource, String targetResource, boolean wildcardCompare) { argument
86 return super.compare(requestResource, targetResource, wildcardCompare);
89 String schemelessTarget = targetResource;
96 return super.compare(requestResource, targetResource, wildcardCompare);
103 return super.compare(requestResource, targetResource, wildcardCompare);
106 T schemeMatch = compareBeforeBreakpoint(requestResource, targetResource, SCHEME_DELIMITER);

Completed in 32 milliseconds