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
JasDBStorageException
User authenticate(Credentials credentials) throws JasDBStorageException
JasDBStorageException
void authorize(UserSession userSession, String object, AccessMode mode) throws JasDBStorageException
JasDBStorageException
User addUser(UserSession currentSession, String userName, String allowedHost, String password) throws JasDBStorageException
JasDBStorageException
GrantObject getGrantObject(UserSession session, String object) throws JasDBStorageException
JasDBStorageException
List<GrantObject> getGrantObjects(UserSession session) throws JasDBStorageException
JasDBStorageException
void grantUser(UserSession currentSession, String object, String userName, AccessMode mode) throws JasDBStorageException
JasDBStorageException
void revoke(UserSession currentSession, String object, String userName) throws JasDBStorageException
JasDBStorageException
void deleteUser(UserSession currentSession, String userName) throws JasDBStorageException
JasDBStorageException
Copyright © 2015. All rights reserved.