Class Authorizer.Failure
java.lang.Object
com.atlassian.jira.plugin.searchrequestview.auth.Authorizer.Failure
- All Implemented Interfaces:
Authorizer.Result
- Enclosing interface:
Authorizer
Convenient impl for failures
-
Field Summary
Fields inherited from interface com.atlassian.jira.plugin.searchrequestview.auth.Authorizer.Result
OK -
Method Summary
-
Method Details
-
isOK
public boolean isOK()- Specified by:
isOKin interfaceAuthorizer.Result- Returns:
- boolean whether it is ok to proceed with this SearchRequest
-
getReason
- Specified by:
getReasonin interfaceAuthorizer.Result- Returns:
- If not ok, return a String message why not.
Note: this is deliberately not i18n as it ends up in a 403 http code which should be ASCII only to be specs compliant.
-