org.spiffyui.client.rest.util
Interface RESTAuthConstants

All Known Subinterfaces:
RESTAuthProvider, RESTAuthProvider
All Known Implementing Classes:
AuthUtil

public interface RESTAuthConstants

This interface defines the necessary constants to perform a login for a REST service that follows the Novell architecture council standard for tokenized identity


Field Summary
static java.lang.String AUTH_LOGOUT_URL_TOKEN
          The authorization logout URL JSON token.
static java.lang.String AUTH_URL_TOKEN
          The authorization URL JSON token.
static java.lang.String GONE
          An error code indicating the token is gone from the authentication.
static java.lang.String INVALID_AUTH_HEADER
          An error code indicating the current token is no longer valid.
static java.lang.String INVALID_INPUT
          An error code indicating the username or password for login was incorrect.
static java.lang.String INVALID_JSON
          An error code indicating the JSON sent to the AuthServlet was invalid.
static java.lang.String INVALID_LOGIN_REQUEST
          An error code indicating the login request was invalid.
static java.lang.String INVALID_LOGOUT_REQUEST
          An error code indicating the logout request was invalid.
static java.lang.String INVALID_TS_URL
          An error code indicating the token server URL was invalid.
static java.lang.String MULTIPLE_ACCOUNTS
          An error code indicating there were multiple accounts with the same username.
static java.lang.String NO_PRIVILEGE
          An error code indicating the user is valid, but doesn't have permission to access the application.
static java.lang.String NOTFOUND_TS_URL
          An error code indicating the token server URL can't be found.
static java.lang.String PASSWORD_TOKEN
          The password JSON token.
static java.lang.String USER_TOKEN
          The user token JSON token.
static java.lang.String USERNAME_TOKEN
          The username JSON token.
 

Field Detail

USERNAME_TOKEN

static final java.lang.String USERNAME_TOKEN
The username JSON token.

See Also:
Constant Field Values

PASSWORD_TOKEN

static final java.lang.String PASSWORD_TOKEN
The password JSON token.

See Also:
Constant Field Values

AUTH_URL_TOKEN

static final java.lang.String AUTH_URL_TOKEN
The authorization URL JSON token.

See Also:
Constant Field Values

AUTH_LOGOUT_URL_TOKEN

static final java.lang.String AUTH_LOGOUT_URL_TOKEN
The authorization logout URL JSON token.

See Also:
Constant Field Values

USER_TOKEN

static final java.lang.String USER_TOKEN
The user token JSON token.

See Also:
Constant Field Values

INVALID_LOGIN_REQUEST

static final java.lang.String INVALID_LOGIN_REQUEST
An error code indicating the login request was invalid.

See Also:
Constant Field Values

INVALID_AUTH_HEADER

static final java.lang.String INVALID_AUTH_HEADER
An error code indicating the current token is no longer valid.

See Also:
Constant Field Values

INVALID_LOGOUT_REQUEST

static final java.lang.String INVALID_LOGOUT_REQUEST
An error code indicating the logout request was invalid.

See Also:
Constant Field Values

INVALID_TS_URL

static final java.lang.String INVALID_TS_URL
An error code indicating the token server URL was invalid.

See Also:
Constant Field Values

MULTIPLE_ACCOUNTS

static final java.lang.String MULTIPLE_ACCOUNTS
An error code indicating there were multiple accounts with the same username.

See Also:
Constant Field Values

INVALID_JSON

static final java.lang.String INVALID_JSON
An error code indicating the JSON sent to the AuthServlet was invalid.

See Also:
Constant Field Values

INVALID_INPUT

static final java.lang.String INVALID_INPUT
An error code indicating the username or password for login was incorrect.

See Also:
Constant Field Values

NO_PRIVILEGE

static final java.lang.String NO_PRIVILEGE
An error code indicating the user is valid, but doesn't have permission to access the application.

See Also:
Constant Field Values

NOTFOUND_TS_URL

static final java.lang.String NOTFOUND_TS_URL
An error code indicating the token server URL can't be found.

See Also:
Constant Field Values

GONE

static final java.lang.String GONE
An error code indicating the token is gone from the authentication. server. Normally because it expired.

See Also:
Constant Field Values