Class ResourceMatch
- java.lang.Object
-
- com.sun.identity.shared.whitelist.ResourceMatch
-
public class ResourceMatch extends Object
The classResourceMatchdefines the results of a resource match with respect to Policy.
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceMatchEXACT_MATCHTheEXACT_MATCHspecifies the resources are exactly the same.static ResourceMatchNO_MATCHTheNO_MATCHspecifies the resources do not matchstatic StringRESOURCE_COMPARATOR_CASE_SENSITIVEstatic StringRESOURCE_COMPARATOR_DELIMITERstatic StringRESOURCE_COMPARATOR_ONE_LEVEL_WILDCARDstatic StringRESOURCE_COMPARATOR_WILDCARDstatic ResourceMatchSUB_RESOURCE_MATCHTheSUB_RESOURCE_MATCHspecifies the provided resource is a sub resource.static ResourceMatchSUPER_RESOURCE_MATCHTheSUPER_RESOURCE_MATCHspecifies the provided resource is more specific than this resourcestatic ResourceMatchWILDCARD_MATCHTheWILDCARD_MATCHspecifies the resources are wildcard match
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object resourceMatch)Method to check if two resource match objects are equal.StringtoString()Method to get string representation of the resource match.
-
-
-
Field Detail
-
EXACT_MATCH
public static final ResourceMatch EXACT_MATCH
TheEXACT_MATCHspecifies the resources are exactly the same.
-
WILDCARD_MATCH
public static final ResourceMatch WILDCARD_MATCH
TheWILDCARD_MATCHspecifies the resources are wildcard match
-
SUB_RESOURCE_MATCH
public static final ResourceMatch SUB_RESOURCE_MATCH
TheSUB_RESOURCE_MATCHspecifies the provided resource is a sub resource.
-
SUPER_RESOURCE_MATCH
public static final ResourceMatch SUPER_RESOURCE_MATCH
TheSUPER_RESOURCE_MATCHspecifies the provided resource is more specific than this resource
-
NO_MATCH
public static final ResourceMatch NO_MATCH
TheNO_MATCHspecifies 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
-
-
Method Detail
-
toString
public String toString()
Method to get string representation of the resource match.
-
-