public class AuthServlet extends OKMRemoteServiceServlet implements OKMAuthService
WORKSPACE
Constructor and Description |
---|
AuthServlet() |
Modifier and Type | Method and Description |
---|---|
void |
changeSecurity(String path,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive) |
List<String> |
getAllRoles() |
List<GWTUser> |
getAllUsers() |
List<String> |
getFilteredAllRoles(String filter,
List<String> selectedRoles) |
List<GWTUser> |
getFilteredAllUsers(String filter,
List<String> selectedUsers) |
List<String> |
getFilteredUngrantedRoles(String nodePath,
String filter) |
List<GWTGrantedUser> |
getFilteredUngrantedUsers(String nodePath,
String filter) |
Map<String,Integer> |
getGrantedRoles(String nodePath) |
List<GWTGrantedUser> |
getGrantedUsers(String nodePath) |
String |
getRemoteUser() |
List<String> |
getUngrantedRoles(String nodePath) |
List<GWTGrantedUser> |
getUngrantedUsers(String nodePath) |
void |
grantRole(String path,
String role,
int permissions,
boolean recursive) |
void |
grantUser(String path,
String user,
int permissions,
boolean recursive) |
void |
keepAlive() |
void |
logout() |
void |
revokeRole(String path,
String role,
boolean recursive) |
void |
revokeRole(String path,
String role,
int permissions,
boolean recursive) |
void |
revokeUser(String path,
String user,
boolean recursive) |
void |
revokeUser(String path,
String user,
int permissions,
boolean recursive) |
doGetSerializationPolicy, getLanguage, getUserWorkspaceSession, init, saveUserWorkspaceSession, setLanguage, updateSessionManager
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void logout() throws OKMException
logout
in interface OKMAuthService
OKMException
public Map<String,Integer> getGrantedRoles(String nodePath) throws OKMException
getGrantedRoles
in interface OKMAuthService
OKMException
public List<GWTGrantedUser> getGrantedUsers(String nodePath) throws OKMException
getGrantedUsers
in interface OKMAuthService
OKMException
public String getRemoteUser()
getRemoteUser
in interface OKMAuthService
public List<GWTGrantedUser> getUngrantedUsers(String nodePath) throws OKMException
getUngrantedUsers
in interface OKMAuthService
OKMException
public List<String> getUngrantedRoles(String nodePath) throws OKMException
getUngrantedRoles
in interface OKMAuthService
OKMException
public List<GWTGrantedUser> getFilteredUngrantedUsers(String nodePath, String filter) throws OKMException
getFilteredUngrantedUsers
in interface OKMAuthService
OKMException
public List<String> getFilteredUngrantedRoles(String nodePath, String filter) throws OKMException
getFilteredUngrantedRoles
in interface OKMAuthService
OKMException
public void grantUser(String path, String user, int permissions, boolean recursive) throws OKMException
grantUser
in interface OKMAuthService
OKMException
public void revokeUser(String path, String user, boolean recursive) throws OKMException
revokeUser
in interface OKMAuthService
OKMException
public void revokeUser(String path, String user, int permissions, boolean recursive) throws OKMException
revokeUser
in interface OKMAuthService
OKMException
public void grantRole(String path, String role, int permissions, boolean recursive) throws OKMException
grantRole
in interface OKMAuthService
OKMException
public void revokeRole(String path, String role, boolean recursive) throws OKMException
revokeRole
in interface OKMAuthService
OKMException
public void revokeRole(String path, String role, int permissions, boolean recursive) throws OKMException
revokeRole
in interface OKMAuthService
OKMException
public void keepAlive() throws OKMException
keepAlive
in interface OKMAuthService
OKMException
public List<GWTUser> getAllUsers() throws OKMException
getAllUsers
in interface OKMAuthService
OKMException
public List<String> getAllRoles() throws OKMException
getAllRoles
in interface OKMAuthService
OKMException
public List<GWTUser> getFilteredAllUsers(String filter, List<String> selectedUsers) throws OKMException
getFilteredAllUsers
in interface OKMAuthService
OKMException
public List<String> getFilteredAllRoles(String filter, List<String> selectedRoles) throws OKMException
getFilteredAllRoles
in interface OKMAuthService
OKMException
public void changeSecurity(String path, Map<String,Integer> grantUsers, Map<String,Integer> revokeUsers, Map<String,Integer> grantRoles, Map<String,Integer> revokeRoles, boolean recursive) throws OKMException
changeSecurity
in interface OKMAuthService
OKMException
Copyright © 2015. All Rights Reserved.