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, validateSession
public String login(String username, String password) throws Exception
AuthService
login
in interface AuthService
username
- The usernamepassword
- The passwordException
public void logout(String sid)
AuthService
logout
in interface AuthService
sid
- The session identifierpublic boolean valid(String sid)
AuthService
valid
in interface AuthService
public void renew(String sid)
AuthService
renew
in interface AuthService
Copyright © 2008-2014 Logical Objects. All Rights Reserved.