public class ResourceMatch extends Object
ResourceMatch
defines the results
of a resource match with respect to Policy.Modifier and Type | Field and Description |
---|---|
static ResourceMatch |
EXACT_MATCH
The
EXACT_MATCH specifies
the resources are exactly the same. |
static ResourceMatch |
NO_MATCH
The
NO_MATCH specifies
the resources do not match |
static String |
RESOURCE_COMPARATOR_CASE_SENSITIVE |
static String |
RESOURCE_COMPARATOR_DELIMITER |
static String |
RESOURCE_COMPARATOR_ONE_LEVEL_WILDCARD |
static String |
RESOURCE_COMPARATOR_WILDCARD |
static ResourceMatch |
SUB_RESOURCE_MATCH
The
SUB_RESOURCE_MATCH specifies
the provided resource is a sub resource. |
static ResourceMatch |
SUPER_RESOURCE_MATCH
The
SUPER_RESOURCE_MATCH specifies
the provided resource is more specific than
this resource |
static ResourceMatch |
WILDCARD_MATCH
The
WILDCARD_MATCH specifies
the resources are wildcard match |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object resourceMatch)
Method to check if two resource match objects are equal.
|
String |
toString()
Method to get string representation of the resource match.
|
public static final ResourceMatch EXACT_MATCH
EXACT_MATCH
specifies
the resources are exactly the same.public static final ResourceMatch WILDCARD_MATCH
WILDCARD_MATCH
specifies
the resources are wildcard matchpublic static final ResourceMatch SUB_RESOURCE_MATCH
SUB_RESOURCE_MATCH
specifies
the provided resource is a sub resource.public static final ResourceMatch SUPER_RESOURCE_MATCH
SUPER_RESOURCE_MATCH
specifies
the provided resource is more specific than
this resourcepublic static final ResourceMatch NO_MATCH
NO_MATCH
specifies
the resources do not matchpublic static final String RESOURCE_COMPARATOR_DELIMITER
public static final String RESOURCE_COMPARATOR_WILDCARD
public static final String RESOURCE_COMPARATOR_ONE_LEVEL_WILDCARD
public static final String RESOURCE_COMPARATOR_CASE_SENSITIVE
public String toString()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.