AuthenticationResource

The following resources are part of this group:

/auth/login

Mount Point: /CNPortletapp/rest/auth/login

GET

Perform a login to the system with SSO systems

Response Body

element: (custom)

SID or "NOTFOUND" or "FAILURE"

POST

Perform a login to the system based on user credentials. If the user is successfully authenticated, create a new session and send back the sid. If a new sessionSecret is created, set it as a cookie

Request Body

element: loginRequest

login request (contains the login credentials)

Response Body

element: loginResponse

login response

/auth/logout/{sid}

Mount Point: /CNPortletapp/rest/auth/logout/{sid}

POST

Do a logout for the current session

Parameters

name description type default
sid (no documentation provided) path

Response Body

element: genericResponse

generic response

/auth/validate/{sid}

Mount Point: /CNPortletapp/rest/auth/validate/{sid}

GET

Validate the given SID

Parameters

name description type default
sid sid to validate path

Response Body

element: authenticationResponse

response containing validation result and (possibly) a user