edu.internet2.middleware.grouper.externalSubjects
Class ExternalSubjectConfig

java.lang.Object
  extended by edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectConfig

public class ExternalSubjectConfig
extends Object

wrapper around config info for external subjects

Author:
mchyzer

Nested Class Summary
static class ExternalSubjectConfig.ExternalSubjectAttributeConfigBean
          attributes configured
static class ExternalSubjectConfig.ExternalSubjectAutoaddBean
          //#add multiple group assignment actions by URL param: externalSubjectInviteName //externalSubject.autoadd.testingLibrary.externalSubjectInviteName=library //#comma separated groups to add for this type of invite //externalSubject.autoadd.testingLibrary.groups= //#should be insert, update, or insert,update //externalSubject.autoadd.testingLibrary.actions=insert,update //#should be insert, update, or insert,update //externalSubject.autoadd.testingLibrary.expireAfterDays= cache the auto add config
static class ExternalSubjectConfig.ExternalSubjectConfigBean
          cache the config stuff
 
Constructor Summary
ExternalSubjectConfig()
           
 
Method Summary
static void clearCache()
          clear the config cache (e.g.
static Map<String,ExternalSubjectConfig.ExternalSubjectAutoaddBean> externalSubjectAutoaddConfigBean()
          get the bean map from cache or configure a new one
static ExternalSubjectConfig.ExternalSubjectConfigBean externalSubjectConfigBean()
          get the bean from cache or configure a new one
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalSubjectConfig

public ExternalSubjectConfig()
Method Detail

clearCache

public static void clearCache()
clear the config cache (e.g. for testing)


externalSubjectConfigBean

public static ExternalSubjectConfig.ExternalSubjectConfigBean externalSubjectConfigBean()
get the bean from cache or configure a new one

Returns:
the config bean

externalSubjectAutoaddConfigBean

public static Map<String,ExternalSubjectConfig.ExternalSubjectAutoaddBean> externalSubjectAutoaddConfigBean()
get the bean map from cache or configure a new one

Returns:
the config bean