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 username,
String portalLogin) |
org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup |
createGroup(String groupName) |
boolean |
createUser(String name) |
boolean |
createUser(String name,
String pass) |
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() |
boolean |
removeAdministrator(String scope,
String username,
String portalLogin) |
boolean |
removeUserFromGroup(String scope,
String userToRemove,
String portalLogin) |
boolean |
setAdministrator(String scope,
String username,
String portalLogin) |
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 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 groupName) 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) 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) 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.InternalErrorExceptionpublic boolean associateUserToGroup(String scope, String username, String portalLogin) 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 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 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 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.ItemNotFoundExceptionCopyright © 2014. All Rights Reserved.