AuthenticationResource
Authentication Resource. This can be used to authenticate an existing SID.
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) |
media types: | text/plain |
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 |
media types: | */* application/xml application/json |
login request (contains the login credentials)
Response Body
element: | loginResponse |
media types: | */* application/xml application/json |
login response
/auth/ssologin
Mount Point: /CNPortletapp/rest/auth/ssologin
GET
Perform a login to the system with SSO systems
Response Body
element: | (custom) |
media types: | text/plain |
SID or "NOTFOUND" or "FAILURE"
/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 |
media types: | */* application/xml application/json |
generic response
/auth/validate/{sid}
Mount Point: /CNPortletapp/rest/auth/validate/{sid}
GET
Validate the given SID
Parameters
name | description | type | default |
---|---|---|---|
sid | sid + gcn_session_secret (taken from the GCN_SESSION_SECRET cookie) to validate | path |
Response Body
element: | authenticationResponse |
media types: | */* application/xml application/json |
response containing validation result and (possibly) a user