public interface UserManager
| Modifier and Type | Method and Description |
|---|---|
User |
addUser(UserSession currentSession,
String userName,
String allowedHost,
String password) |
User |
authenticate(Credentials credentials) |
void |
authorize(UserSession userSession,
String object,
AccessMode mode) |
void |
deleteUser(UserSession currentSession,
String userName) |
GrantObject |
getGrantObject(UserSession session,
String object) |
List<GrantObject> |
getGrantObjects(UserSession session) |
List<String> |
getUsers(UserSession currentSession) |
void |
grantUser(UserSession currentSession,
String object,
String userName,
AccessMode mode) |
void |
revoke(UserSession currentSession,
String object,
String userName) |
List<String> getUsers(UserSession currentSession) throws JasDBStorageException
JasDBStorageExceptionUser authenticate(Credentials credentials) throws JasDBStorageException
JasDBStorageExceptionvoid authorize(UserSession userSession, String object, AccessMode mode) throws JasDBStorageException
JasDBStorageExceptionUser addUser(UserSession currentSession, String userName, String allowedHost, String password) throws JasDBStorageException
JasDBStorageExceptionGrantObject getGrantObject(UserSession session, String object) throws JasDBStorageException
JasDBStorageExceptionList<GrantObject> getGrantObjects(UserSession session) throws JasDBStorageException
JasDBStorageExceptionvoid grantUser(UserSession currentSession, String object, String userName, AccessMode mode) throws JasDBStorageException
JasDBStorageExceptionvoid revoke(UserSession currentSession, String object, String userName) throws JasDBStorageException
JasDBStorageExceptionvoid deleteUser(UserSession currentSession, String userName) throws JasDBStorageException
JasDBStorageExceptionCopyright © 2015. All rights reserved.