|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bryansaunders.jee6divelog.service.rest.SecurityApi
@RequestScoped public class SecurityApi
Security REST API.
Constructor Summary | |
---|---|
SecurityApi()
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
identify()
Identifies the currently logged in REST user. |
javax.ws.rs.core.Response |
login(Credentials incomingCredentials)
Identifies the currently logged in REST user. |
javax.ws.rs.core.Response |
logout()
Logout the Current REST User. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityApi()
Method Detail |
---|
public javax.ws.rs.core.Response login(Credentials incomingCredentials)
incomingCredentials
- Users Login Credentials
public javax.ws.rs.core.Response identify()
public javax.ws.rs.core.Response logout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |