Class 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 Detail

      • ActiveMQWildcardPermission

        public ActiveMQWildcardPermission​(String wildcardString)
      • ActiveMQWildcardPermission

        public ActiveMQWildcardPermission​(String wildcardString,
                                          boolean caseSensitive)
    • Method Detail

      • implies

        public boolean implies​(org.apache.shiro.authz.Permission p)
        Specified by:
        implies in interface org.apache.shiro.authz.Permission
        Overrides:
        implies in class org.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 be null.
        value - string which must be matched against the pattern. Must not be null.
        Returns:
        true if the string matches against the pattern, or false otherwise.
      • 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:
        toString in class org.apache.shiro.authz.permission.WildcardPermission