public class AuthServiceImpl extends AbstractService implements AuthService
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
context| Constructor and Description |
|---|
AuthServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
login(String username,
String password)
Starts a new user session.
|
void |
logout(String sid)
Closes a user session.
|
void |
renew(String sid)
Renews a session
|
boolean |
valid(String sid)
Checks if a SID is valid
|
checkAdministrator, checkDownloadEnable, checkGroup, checkPermission, checkPublished, checkReadEnable, checkWriteEnable, convertDateToString, convertStringToDate, getSettings, isWebserviceEnabled, setValidateSession, validateSessionpublic String login(String username, String password) throws Exception
AuthServicelogin in interface AuthServiceusername - The usernamepassword - The passwordExceptionpublic void logout(String sid)
AuthServicelogout in interface AuthServicesid - The session identifierpublic boolean valid(String sid)
AuthServicevalid in interface AuthServicepublic void renew(String sid)
AuthServicerenew in interface AuthServiceCopyright © 2008-2014 Logical Objects. All Rights Reserved.