LoginService Resource

GET /loginService/addAuthenticationKey

Request Parameters
name type description default
expirationMinutes query n/a
principal query n/a
providerKey query n/a
purpose query n/a
Response Body
media type data type
application/json (custom)
application/xml string (XML)
text/plain (custom)
Available Since
1.4

GET /loginService/isLogged

simply check if current user has an http session opened with authz passed and return user data

Available Since
1.4
Response Body
media type data type
application/json (custom)
application/xml user (XML)

POST /loginService/logIn

check username/password and create a http session. So no more need of reuse username/password for all ajaxRequest

Request Body
media type data type
application/xml loginRequest (XML)
Response Body
media type data type
application/json (custom)
application/xml user (XML)
text/plain (custom)
Available Since
1.4

GET /loginService/logout

clear user http session

Available Since
1.4
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /loginService/ping

Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /loginService/pingWithAutz

Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)