Class ResourceMatch
- java.lang.Object
-
- com.sun.identity.shared.whitelist.ResourceMatch
-
@SupportedAll public class ResourceMatch extends Object
The classResourceMatch
defines the results of a resource match with respect to Policy.
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceMatch
EXACT_MATCH
TheEXACT_MATCH
specifies the resources are exactly the same.static ResourceMatch
NO_MATCH
TheNO_MATCH
specifies the resources do not matchstatic 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
TheSUB_RESOURCE_MATCH
specifies the provided resource is a sub resource.static ResourceMatch
SUPER_RESOURCE_MATCH
TheSUPER_RESOURCE_MATCH
specifies the provided resource is more specific than this resourcestatic ResourceMatch
WILDCARD_MATCH
TheWILDCARD_MATCH
specifies the resources are wildcard match
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object resourceMatch)
Method to check if two resource match objects are equal.int
hashCode()
String
toString()
Method to get string representation of the resource match.
-
-
-
Field Detail
-
EXACT_MATCH
public static final ResourceMatch EXACT_MATCH
TheEXACT_MATCH
specifies the resources are exactly the same.
-
WILDCARD_MATCH
public static final ResourceMatch WILDCARD_MATCH
TheWILDCARD_MATCH
specifies the resources are wildcard match
-
SUB_RESOURCE_MATCH
public static final ResourceMatch SUB_RESOURCE_MATCH
TheSUB_RESOURCE_MATCH
specifies the provided resource is a sub resource.
-
SUPER_RESOURCE_MATCH
public static final ResourceMatch SUPER_RESOURCE_MATCH
TheSUPER_RESOURCE_MATCH
specifies the provided resource is more specific than this resource
-
NO_MATCH
public static final ResourceMatch NO_MATCH
TheNO_MATCH
specifies the resources do not match
-
RESOURCE_COMPARATOR_DELIMITER
public static final String RESOURCE_COMPARATOR_DELIMITER
- See Also:
- Constant Field Values
-
RESOURCE_COMPARATOR_WILDCARD
public static final String RESOURCE_COMPARATOR_WILDCARD
- See Also:
- Constant Field Values
-
RESOURCE_COMPARATOR_ONE_LEVEL_WILDCARD
public static final String RESOURCE_COMPARATOR_ONE_LEVEL_WILDCARD
- See Also:
- Constant Field Values
-
RESOURCE_COMPARATOR_CASE_SENSITIVE
public static final String RESOURCE_COMPARATOR_CASE_SENSITIVE
- See Also:
- Constant Field Values
-
-