|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.icenigrid.gridsam.core.hostenv.UserMappingUtil
public class UserMappingUtil
Purpose:
A Utility class, providing some usermap-related functions.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
sLog
logger. |
| Constructor Summary | |
|---|---|
UserMappingUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDefaultUserDN()
Get the userDN of the default user. |
static java.util.Map |
getDefaultUserMapInfo()
Get the user mapping of the default users. |
static java.lang.String |
getLocalHomePath(java.lang.String userDN)
To get the correponding home location for the UserDN on the indicated cluster. |
static java.lang.String |
getLocalUN(java.lang.String userDN)
Get the local UserName using the corresponding Global UserMap |
static java.lang.String |
getLocalUserGroup(java.lang.String userDN)
To get local user's group for the UserDN on the indicated cluster. |
static java.util.Map |
getUserMapInfo(java.lang.String userDN)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.apache.commons.logging.Log sLog
| Constructor Detail |
|---|
public UserMappingUtil()
| Method Detail |
|---|
public static java.lang.String getLocalUN(java.lang.String userDN)
throws JobManagerException
userDN - The global User DN
JobManagerException - When something error.
public static java.lang.String getLocalHomePath(java.lang.String userDN)
throws JobManagerException
userDN - The global User DN
JobManagerException - When something error.
public static java.lang.String getLocalUserGroup(java.lang.String userDN)
throws JobManagerException
userDN - The global User DN
JobManagerException - When something error.
public static java.util.Map getUserMapInfo(java.lang.String userDN)
throws JobManagerException
userDN -
JobManagerException
public static java.lang.String getDefaultUserDN()
throws JobManagerException
JobManagerException - No defaultUserDN configuration.
public static java.util.Map getDefaultUserMapInfo()
throws JobManagerException
JobManagerException - No defaultUserDN configuration, No userMapping,
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||