|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.api.jaxrs.JaxrsCollection
ccc.api.jaxrs.SecurityImpl2
public class SecurityImpl2
JAX-RS implementation of the security API.
Field Summary |
---|
Fields inherited from interface ccc.api.core.Security |
---|
COLLECTION, CURRENT, PROPERTIES |
Constructor Summary | |
---|---|
SecurityImpl2(Security delegate)
Constructor. |
Method Summary | |
---|---|
java.lang.Boolean |
isLoggedIn()
Determine if a user is associated with the current session. |
java.lang.Boolean |
login(java.lang.String username,
java.lang.String password)
Log in to CCC. |
void |
logout()
Log out from the current session. |
java.lang.String |
readAllProperties()
Read the properties for the session. |
Methods inherited from class ccc.api.jaxrs.JaxrsCollection |
---|
convertException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityImpl2(Security delegate)
delegate
- Method Detail |
---|
public java.lang.Boolean isLoggedIn()
isLoggedIn
in interface Security
public java.lang.Boolean login(java.lang.String username, java.lang.String password)
login
in interface Security
username
- The user's username.password
- The user's password.
public void logout()
logout
in interface Security
public java.lang.String readAllProperties()
readAllProperties
in interface Security
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |