Package org.apache.activemq.shiro.authz
Class ActiveMQWildcardPermission
java.lang.Object
org.apache.shiro.authz.permission.WildcardPermission
org.apache.activemq.shiro.authz.ActiveMQWildcardPermission
- All Implemented Interfaces:
Serializable,org.apache.shiro.authz.Permission
public class ActiveMQWildcardPermission
extends org.apache.shiro.authz.permission.WildcardPermission
- Since:
- 5.10.0
- See Also:
-
Field Summary
Fields inherited from class org.apache.shiro.authz.permission.WildcardPermission
DEFAULT_CASE_SENSITIVE, PART_DIVIDER_TOKEN, SUBPART_DIVIDER_TOKEN, WILDCARD_TOKEN -
Constructor Summary
ConstructorsConstructorDescriptionActiveMQWildcardPermission(String wildcardString) ActiveMQWildcardPermission(String wildcardString, boolean caseSensitive) -
Method Summary
Modifier and TypeMethodDescriptiondoGetPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp) getParts(org.apache.shiro.authz.permission.WildcardPermission wp) getPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp) booleanimplies(org.apache.shiro.authz.Permission p) protected booleanTests whether or not a string matches against a pattern.toString()Methods inherited from class org.apache.shiro.authz.permission.WildcardPermission
equals, getParts, hashCode, setParts, setParts, setParts
-
Constructor Details
-
ActiveMQWildcardPermission
-
ActiveMQWildcardPermission
-
-
Method Details
-
implies
public boolean implies(org.apache.shiro.authz.Permission p) - Specified by:
impliesin interfaceorg.apache.shiro.authz.Permission- Overrides:
impliesin classorg.apache.shiro.authz.permission.WildcardPermission
-
matches
Tests whether or not a string matches against a pattern. The pattern may contain two special characters:
'*' means zero or more characters
'?' means one and only one character- Parameters:
pattern- pattern to match against. Must not benull.value- string which must be matched against the pattern. Must not benull.- Returns:
trueif the string matches against the pattern, orfalseotherwise.
-
getParts
-
getPartsByReflection
-
doGetPartsByReflection
protected List<Set<String>> doGetPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp) throws Exception - Throws:
Exception
-
toString
- Overrides:
toStringin classorg.apache.shiro.authz.permission.WildcardPermission
-