com.atlassian.jira.plugin.searchrequestview.auth
Interface Authorizer.Result
- All Known Implementing Classes:
- Authorizer.Failure
- Enclosing interface:
- Authorizer
public static interface Authorizer.Result
ResultObject that encapsulates the result and the reason if something is not OK.
OK
static final Authorizer.Result OK
- Convenient placeholder for ok result.
isOK
boolean isOK()
- Returns:
- boolean whether it is ok to proceed with this SearchRequest
getReason
String getReason()
- 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.
Copyright © 2002-2010 Atlassian. All Rights Reserved.