|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.cfg.GrouperConfig
public class GrouperConfig
Grouper configuration information.
This class is being deprecated by the Configuration
interface.
Field Summary | |
---|---|
static String |
ALL
|
static String |
ALL_NAME
|
static String |
ATTR_C
|
static String |
ATTR_CT
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_ADMIN
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_OPTIN
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_OPTOUT
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_READ
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_UPDATE
|
static String |
ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_VIEW
|
static String |
ATTRIBUTE_DESCRIPTION
|
static String |
ATTRIBUTE_DISPLAY_EXTENSION
|
static String |
ATTRIBUTE_DISPLAY_NAME
|
static String |
ATTRIBUTE_EXTENSION
|
static String |
ATTRIBUTE_NAME
|
static String |
BT
|
static String |
DEFAULT_DAO_FACTORY
Default DAO implementation to be used if an alternative is not configured. |
static String |
EMPTY_STRING
String with value of "" . |
static long |
EPOCH
Epoch origin. |
static String |
GCGAA
|
static String |
GCGAOI
|
static String |
GCGAOO
|
static String |
GCGAR
|
static String |
GCGAU
|
static String |
GCGAV
|
static String |
GROUPER_CF
Grouper configuration file. |
static String |
HIBERNATE_CF
Hibernate configuration file. |
static String |
IST
|
static String |
LIST
|
static String |
LOCAL_GROUPER_CF
Optional local configuration file to override contents of GROUPER_CF. |
static String |
MESSAGES_USE_TOOLTIPS
if tooltips should be substituted in messages |
static String |
NL
|
static String |
PROP_DAO_FACTORY
Property containing name of DAO implementation to be used. |
static String |
PROP_MAX_WHEEL_AGE
Property containing maximum age of cached wheel group. |
static String |
PROP_USE_WHEEL_GROUP
Property determining whether wheel group is to be used. |
static String |
PROP_WHEEL_GROUP
Property containing name of wheel group. |
static String |
ROOT
|
static String |
ROOT_NAME
|
static String |
SCGAC
|
static String |
SCGAS
|
static String |
SCIDFRI
|
static String |
SCII
|
static String |
WHEEL_NAME
|
Method Summary | |
---|---|
static String |
getGrouperUiUrl(boolean exceptionIfNull)
get the UI url with a slash on the end |
static String |
getHibernateProperty(String property)
Get a Hibernate configuration parameter. |
static int |
getHibernatePropertyInt(String property,
int defaultValue)
get the hibernate property value as an int, throw an exception if invalid value. |
static String |
getProperty(String property)
Get a Grouper configuration parameter. |
String |
getProperty(String property,
String defaultValue)
|
static boolean |
getPropertyBoolean(String propertyName,
boolean defaultValue)
get the property value as a boolean, throw an exception if invalid value. |
static int |
getPropertyInt(String propertyName,
int defaultValue)
get the property value as an int, throw an exception if invalid value. |
static Set<String> |
getPropertyNames()
Get a Grouper config names |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_DAO_FACTORY
public static final String EMPTY_STRING
""
.
public static final long EPOCH
public static final String GROUPER_CF
public static final String HIBERNATE_CF
public static final String LOCAL_GROUPER_CF
public static final String PROP_DAO_FACTORY
Grouper will default to DEFAULT_DAO_FACTORY
if this property is not set.
public static final String PROP_MAX_WHEEL_AGE
public static final String PROP_WHEEL_GROUP
public static final String PROP_USE_WHEEL_GROUP
public static final String ALL
public static final String ALL_NAME
public static final String ATTR_C
public static final String ATTR_CT
public static final String ATTRIBUTE_DESCRIPTION
public static final String ATTRIBUTE_DISPLAY_EXTENSION
public static final String ATTRIBUTE_DISPLAY_NAME
public static final String ATTRIBUTE_EXTENSION
public static final String ATTRIBUTE_NAME
public static final String BT
public static final String GCGAA
public static final String GCGAOI
public static final String GCGAOO
public static final String GCGAR
public static final String GCGAU
public static final String GCGAV
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_ADMIN
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_OPTIN
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_OPTOUT
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_READ
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_UPDATE
public static final String ATTRIBUTE_DEFS_CREATE_GRANT_ALL_ATTR_VIEW
public static final String IST
public static final String LIST
public static final String NL
public static final String ROOT
public static final String ROOT_NAME
public static final String SCGAC
public static final String SCGAS
public static final String SCII
public static final String SCIDFRI
public static final String WHEEL_NAME
public static final String MESSAGES_USE_TOOLTIPS
Method Detail |
---|
public static String getHibernateProperty(String property)
String dialect = GrouperConfig.getHibernateProperty("hibernate.dialect");
public static String getProperty(String property)
String wheel = GrouperConfig.getProperty("groups.wheel.group");
public static Set<String> getPropertyNames()
public static boolean getPropertyBoolean(String propertyName, boolean defaultValue)
propertyName
- defaultValue
- if the property is blank or missing, return this value
public static int getPropertyInt(String propertyName, int defaultValue)
propertyName
- defaultValue
- if the property is blank or missing, return this value
public String getProperty(String property, String defaultValue) throws IllegalArgumentException
property
- defaultValue
-
IllegalArgumentException
public static int getHibernatePropertyInt(String property, int defaultValue)
property
- defaultValue
-
public static String getGrouperUiUrl(boolean exceptionIfNull)
exceptionIfNull
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |