at.gv.egiz.moodle.eidconnector.core.config
Class JConfigMapper

java.lang.Object
  extended by at.gv.egiz.moodle.eidconnector.core.config.JConfigMapper
Direct Known Subclasses:
Configuration

public class JConfigMapper
extends Object

Author:
AT-TUG (Thomas Knall)

Field Summary
static String CONFIG_STORK_AUTHENTICATOR_ID
           
 
Constructor Summary
protected JConfigMapper()
           
 
Method Summary
static org.hibernate.cfg.AnnotationConfiguration createHibernateEIDConnectorConfiguration()
           
static org.hibernate.cfg.AnnotationConfiguration createHibernateMoodleConfiguration()
           
static String getAuthCountryProperty(String countryCode, String property)
           
static Map<String,String> getEIDHTTPHeaderMappings()
           
static String getErrorProperty(String property)
           
static String getErrorProperty(String property, HttpServletRequest request)
           
static boolean getGeneralBooleanProperty(String property)
           
static String getGeneralProperty(String property)
           
static ResourceBundle getGeneralResourceBundleProperty(String property, Locale locale)
           
static Properties getHibernateConfiguration(String category)
           
static boolean getInternalBooleanProperty(String property)
           
static int getInternalIntProperty(String property)
           
static String getInternalProperty(String property)
           
static String[] getMOAIDInstanceNames()
           
static String getMOAIDNationalityCode(String instance)
           
static String getMOAIDProperty(String instance, String property)
           
static String getMOAIDProperty(String instance, String property, HttpServletRequest request)
           
static Integer getMOAIDQAALevel(String instance)
           
static String[] getMoodleAccountSalts()
           
static String[] getMoodleArrayProperty(String property)
           
static String getMoodleOldCharset()
           
static String getMoodleProperty(String property)
           
static org.jconfig.Category[] getNestedCategories(String category)
           
static ResourceBundle getResourceBundle()
           
static String getSTORKResponseValidationExpectedAudience()
           
static String getSTORKResponseValidationSignatureVerificationConfigPath()
           
static String getSTORKResponseValidationSignatureVerificationProfile()
           
static String[] getSTORKResponseValidationTrustedIssuers()
           
static boolean isAuthCountryEnabled(String countryCode)
           
static boolean isDatabaseLoggingSupported()
           
static boolean isEIdTransformationSupported()
           
static boolean isForceAgeCalculationEnabled()
           
static boolean isMaintenanceMode()
           
static boolean isMoodleExistingAccountsEnabled()
           
static boolean isMoodleNewAccountsEnabled()
           
static boolean isSTORKResponseValidationTrustedIssuer(String issuer)
           
static void setConfig(org.jconfig.Configuration jconfig)
           
static void setConfig(at.iaik.commons.jconfig.JConfigDefaultConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_STORK_AUTHENTICATOR_ID

public static final String CONFIG_STORK_AUTHENTICATOR_ID
See Also:
Constant Field Values
Constructor Detail

JConfigMapper

protected JConfigMapper()
Method Detail

setConfig

public static void setConfig(org.jconfig.Configuration jconfig)

setConfig

public static void setConfig(at.iaik.commons.jconfig.JConfigDefaultConfiguration config)

getEIDHTTPHeaderMappings

public static Map<String,String> getEIDHTTPHeaderMappings()

getHibernateConfiguration

public static Properties getHibernateConfiguration(String category)

createHibernateEIDConnectorConfiguration

public static org.hibernate.cfg.AnnotationConfiguration createHibernateEIDConnectorConfiguration()

createHibernateMoodleConfiguration

public static org.hibernate.cfg.AnnotationConfiguration createHibernateMoodleConfiguration()

getGeneralProperty

public static String getGeneralProperty(String property)

getInternalIntProperty

public static int getInternalIntProperty(String property)

getInternalProperty

public static String getInternalProperty(String property)

isEIdTransformationSupported

public static boolean isEIdTransformationSupported()

isDatabaseLoggingSupported

public static boolean isDatabaseLoggingSupported()

getInternalBooleanProperty

public static boolean getInternalBooleanProperty(String property)

isMaintenanceMode

public static boolean isMaintenanceMode()

isForceAgeCalculationEnabled

public static boolean isForceAgeCalculationEnabled()

getResourceBundle

public static ResourceBundle getResourceBundle()

getErrorProperty

public static String getErrorProperty(String property,
                                      HttpServletRequest request)

getGeneralResourceBundleProperty

public static ResourceBundle getGeneralResourceBundleProperty(String property,
                                                              Locale locale)

getErrorProperty

public static String getErrorProperty(String property)

getGeneralBooleanProperty

public static boolean getGeneralBooleanProperty(String property)

getAuthCountryProperty

public static String getAuthCountryProperty(String countryCode,
                                            String property)

isAuthCountryEnabled

public static boolean isAuthCountryEnabled(String countryCode)

getNestedCategories

public static org.jconfig.Category[] getNestedCategories(String category)

getMOAIDProperty

public static String getMOAIDProperty(String instance,
                                      String property)

getMOAIDQAALevel

public static Integer getMOAIDQAALevel(String instance)

getMOAIDNationalityCode

public static String getMOAIDNationalityCode(String instance)

getMOAIDProperty

public static String getMOAIDProperty(String instance,
                                      String property,
                                      HttpServletRequest request)

getMOAIDInstanceNames

public static String[] getMOAIDInstanceNames()

getMoodleProperty

public static String getMoodleProperty(String property)

getMoodleAccountSalts

public static String[] getMoodleAccountSalts()

getMoodleOldCharset

public static String getMoodleOldCharset()

isMoodleExistingAccountsEnabled

public static boolean isMoodleExistingAccountsEnabled()

isMoodleNewAccountsEnabled

public static boolean isMoodleNewAccountsEnabled()

getMoodleArrayProperty

public static String[] getMoodleArrayProperty(String property)

getSTORKResponseValidationTrustedIssuers

public static String[] getSTORKResponseValidationTrustedIssuers()

isSTORKResponseValidationTrustedIssuer

public static boolean isSTORKResponseValidationTrustedIssuer(String issuer)

getSTORKResponseValidationExpectedAudience

public static String getSTORKResponseValidationExpectedAudience()

getSTORKResponseValidationSignatureVerificationConfigPath

public static String getSTORKResponseValidationSignatureVerificationConfigPath()

getSTORKResponseValidationSignatureVerificationProfile

public static String getSTORKResponseValidationSignatureVerificationProfile()


Copyright 2009 EGIZ. All Rights Reserved.