Class AuthorizationRule
- java.lang.Object
-
- io.apiman.gateway.engine.policies.config.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 Summary
Constructors Constructor Description AuthorizationRule()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetPathPattern()StringgetRole()StringgetVerb()inthashCode()voidsetPathPattern(String pathPattern)voidsetRole(String role)voidsetVerb(String verb)
-
-
-
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
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
-