|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouperClient.util.GrouperClientCommonUtils
edu.internet2.middleware.grouperClient.util.GrouperClientUtils
public class GrouperClientUtils
utility methods specific to grouper client
Field Summary |
---|
Fields inherited from class edu.internet2.middleware.grouperClient.util.GrouperClientCommonUtils |
---|
DATE_FORMAT, DATE_MINUTES_SECONDS_FORMAT, DATE_MINUTES_SECONDS_NO_SLASH_FORMAT, DEFAULT_BUFFER_SIZE, EMPTY, EMPTY_OBJECT_ARRAY, EMPTY_STRING_ARRAY, INDEX_NOT_FOUND, LOG_ERROR, NOT_FOUND, ONE_GB, ONE_KB, ONE_MB, TIMESTAMP_FORMAT, TIMESTAMP_NO_SLASH_FORMAT |
Constructor Summary | |
---|---|
GrouperClientUtils()
|
Method Summary | |
---|---|
static String |
encryptKey()
|
static Map<String,String> |
grouperClientOverrideMap()
override map for properties for testing |
static Properties |
grouperClientProperties()
grouper client properties |
static String |
propertiesValue(String key,
boolean required)
get a property and validate required from grouper.client.properties |
static boolean |
propertiesValueBoolean(String key,
boolean defaultValue,
boolean required)
get a boolean and validate from grouper.client.properties |
static int |
propertiesValueInt(String key,
int defaultValue,
boolean required)
get a boolean and validate from grouper.client.properties |
static Log |
retrieveLog(Class<?> theClass)
|
static String |
subjectAttributeValue(WsSubject wsSubject,
String[] attributeNames,
String attributeName)
get the attribute value of an attribute name of a subject |
static String |
substituteExpressionLanguage(String stringToParse,
Map<String,Object> variableMap)
substitute an EL for objects |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrouperClientUtils()
Method Detail |
---|
public static Log retrieveLog(Class<?> theClass)
theClass
-
public static Map<String,String> grouperClientOverrideMap()
public static Properties grouperClientProperties()
public static String propertiesValue(String key, boolean required)
key
- required
-
public static boolean propertiesValueBoolean(String key, boolean defaultValue, boolean required)
key
- defaultValue
- required
-
public static int propertiesValueInt(String key, int defaultValue, boolean required)
key
- defaultValue
- required
-
public static String substituteExpressionLanguage(String stringToParse, Map<String,Object> variableMap)
stringToParse
- variableMap
-
public static String subjectAttributeValue(WsSubject wsSubject, String[] attributeNames, String attributeName)
wsSubject
- subjectattributeNames
- list of attribute names in the subjectattributeName
- to query
public static String encryptKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |