AuthenticationResource

The following resources are applicable:

/authentication

Mount Point: /api/rest/authentication

GET

Returns the current state of the application.

Response Body

element: state
media types: application/xml
application/json

(no documentation provided)

/authentication/login

Mount Point: /api/rest/authentication/login

POST

Authenticate a user and return the state of the application.

Parameters

name description type default
username the username for the authentication form
password the password for the authentication form
rememberMe true to remember the user across sessions form false

Response Body

element: state
media types: application/xml
application/json

(no documentation provided)

/authentication/logout

Mount Point: /api/rest/authentication/logout

GET

Logout the current user. Returns the current state of the application, if public access is enabled.

Response Body

element: state
media types: application/xml
application/json

(no documentation provided)

/authentication/state

Mount Point: /api/rest/authentication/state

GET

This method is an alias of the #getState(javax.servlet.http.HttpServletRequest) method. The only difference between the methods, is that this one could not be used with basic authentication.

Response Body

element: state
media types: application/xml
application/json

(no documentation provided)