LoginService Resource
- ./loginService/addAuthenticationKey
- ./loginService/isLogged
- ./loginService/logIn
- ./loginService/logout
- ./loginService/ping
- ./loginService/pingWithAutz
GET /loginService/addAuthenticationKey
name | type | description | default |
---|---|---|---|
expirationMinutes | query | n/a | |
principal | query | n/a | |
providerKey | query | n/a | |
purpose | query | n/a |
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
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
media type | data type |
---|---|
application/xml | loginRequest (XML) |
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
media type | data type |
---|---|
application/json | (custom) |
application/xml | boolean (XML) |
text/plain | (custom) |