Class AuthorizationRule


  • public class AuthorizationRule
    extends Object
    A single authorization rule consisting of a verb, path pattern, and role name.
    Author:
    eric.wittmann@redhat.com
    • Constructor Detail

      • AuthorizationRule

        public AuthorizationRule()
        Constructor.
    • Method Detail

      • getVerb

        public String getVerb()
        Returns:
        the verb
      • setVerb

        public void setVerb​(String verb)
        Parameters:
        verb - the verb to set
      • getPathPattern

        public String getPathPattern()
        Returns:
        the pathPattern
      • setPathPattern

        public void setPathPattern​(String pathPattern)
        Parameters:
        pathPattern - the pathPattern to set
      • getRole

        public String getRole()
        Returns:
        the role
      • setRole

        public void setRole​(String role)
        Parameters:
        role - the role to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object