public class LDAPUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_GID_NUMBER |
static String |
LDAP_GROUP_FILTER |
static String |
LDAP_ORG_FILTER |
static String |
LDAP_SERVER_FILTER_NAME |
static String |
LDAP_SERVER_NAME |
static String |
LDAP_SERVER_PRINCPAL_NAME |
static String |
USER_CONTEXT |
| Constructor and Description |
|---|
LDAPUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfLDAPGroupExists(DirContext ctx,
String groupSubctx) |
static void |
createGroupVRE(DirContext ctx,
String subContext,
String vreName) |
static LDAPInfo |
getLDAPCoordinates()
ask to the Information System
|
static String |
getOrgSubContext(String orgName) |
static int |
getRandomPOSIXidentifier() |
static org.gcube.vomanagement.usermanagement.model.GCubeGroup |
getRootVO() |
public static final String LDAP_SERVER_NAME
public static final String LDAP_SERVER_FILTER_NAME
public static final String LDAP_SERVER_PRINCPAL_NAME
public static final String LDAP_ORG_FILTER
public static final String LDAP_GROUP_FILTER
public static final String USER_CONTEXT
public static final String DEFAULT_GID_NUMBER
public static boolean checkIfLDAPGroupExists(DirContext ctx, String groupSubctx)
ctx - groupSubctx - public static void createGroupVRE(DirContext ctx, String subContext, String vreName) throws NamingException
ctx - subContext - vreName - NamingExceptionpublic static LDAPInfo getLDAPCoordinates()
public static org.gcube.vomanagement.usermanagement.model.GCubeGroup getRootVO()
public static String getOrgSubContext(String orgName)
orgName - public static int getRandomPOSIXidentifier()
Copyright © 2020. All rights reserved.