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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActiveMQWildcardPermission(String wildcardString)ActiveMQWildcardPermission(String wildcardString, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Set<String>>doGetPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp)protected List<Set<String>>getParts(org.apache.shiro.authz.permission.WildcardPermission wp)protected List<Set<String>>getPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp)booleanimplies(org.apache.shiro.authz.Permission p)protected booleanmatches(String pattern, String value)Tests whether or not a string matches against a pattern.StringtoString()
-
-
-
Method Detail
-
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
protected boolean matches(String pattern, String value)
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
protected List<Set<String>> getParts(org.apache.shiro.authz.permission.WildcardPermission wp)
-
getPartsByReflection
protected List<Set<String>> getPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp)
-
doGetPartsByReflection
protected List<Set<String>> doGetPartsByReflection(org.apache.shiro.authz.permission.WildcardPermission wp) throws Exception
- Throws:
Exception
-
toString
public String toString()
- Overrides:
toStringin classorg.apache.shiro.authz.permission.WildcardPermission
-
-