public class JCRUserManager extends Object implements org.gcube.common.homelibrary.home.workspace.usermanager.UserManager
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACCOUNTING |
protected static String |
NT_ACCOUNTING |
static String |
PORTAL_LOGIN |
static String |
url |
| Constructor and Description |
|---|
JCRUserManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
associateUserToGroup(String scope,
String userToAssociate) |
boolean |
associateUserToGroup(String scope,
String username,
String userToAssociate)
Deprecated.
|
org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup |
createGroup(String scope) |
boolean |
createUser(String name,
String version) |
boolean |
createUser(String name,
String pass,
String version) |
boolean |
deleteAuthorizable(String groupName) |
org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup |
getGroup(String groupId) |
List<org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup> |
getGroups() |
static String |
getSecurePassword(String message) |
List<String> |
getUsers() |
String |
getVersionByUser(String user) |
boolean |
isGroup(String groupId) |
boolean |
removeAdministrator(String scope,
String username) |
boolean |
removeAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
removeUserFromGroup(String scope,
String userToRemove) |
boolean |
removeUserFromGroup(String scope,
String userToRemove,
String portalLogin)
Deprecated.
|
boolean |
setAdministrator(String scope,
String username) |
boolean |
setAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
setVersionByUser(String user,
String version) |
public static final String PORTAL_LOGIN
protected static final String ACCOUNTING
protected static final String NT_ACCOUNTING
public static String url
public List<org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup> getGroups() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getGroups in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean isGroup(String groupId) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
isGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup getGroup(String groupId) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup createGroup(String scope) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
createGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean deleteAuthorizable(String groupName) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
deleteAuthorizable in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic List<String> getUsers() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getUsers in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean createUser(String name, String version) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
createUser in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean createUser(String name, String pass, String version) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
createUser in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic static String getSecurePassword(String message) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorException@Deprecated public boolean associateUserToGroup(String scope, String username, String userToAssociate) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
associateUserToGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic boolean associateUserToGroup(String scope, String userToAssociate) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
associateUserToGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException@Deprecated public boolean removeUserFromGroup(String scope, String userToRemove, String portalLogin) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
removeUserFromGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic boolean removeUserFromGroup(String scope, String userToRemove) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
removeUserFromGroup in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException@Deprecated public boolean setAdministrator(String scope, String username, String portalLogin) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
setAdministrator in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic boolean setAdministrator(String scope, String username) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
setAdministrator in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException@Deprecated public boolean removeAdministrator(String scope, String username, String portalLogin) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
removeAdministrator in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic boolean removeAdministrator(String scope, String username) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
removeAdministrator in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic String getVersionByUser(String user) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getVersionByUser in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean setVersionByUser(String user, String version) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
setVersionByUser in interface org.gcube.common.homelibrary.home.workspace.usermanager.UserManagerorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionCopyright © 2016. All Rights Reserved.