public static interface

Authorizer.Result

com.atlassian.jira.plugin.searchrequestview.auth.Authorizer.Result
Known Indirect Subclasses

Class Overview

ResultObject that encapsulates the result and the reason if something is not OK.

Summary

Fields
public static final Authorizer.Result OK Convenient placeholder for ok result.
Public Methods
String getReason()
boolean isOK()

Fields

public static final Authorizer.Result OK

Convenient placeholder for ok result.

Public Methods

public 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.

public boolean isOK ()

Returns
  • boolean whether it is ok to proceed with this SearchRequest