Class TokenPrefixProvider

  • All Implemented Interfaces:
    edu.uiuc.ncsa.myproxy.oa4mp.server.OA4MPConfigTags, edu.uiuc.ncsa.security.core.configuration.ConfigurationTags, edu.uiuc.ncsa.security.core.configuration.provider.CfgEventListener, edu.uiuc.ncsa.security.core.configuration.StorageConfigurationTags, edu.uiuc.ncsa.security.util.mail.MailConfigurationTags, EventListener, javax.inject.Provider<String>

    public class TokenPrefixProvider
    extends edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<String>
    implements edu.uiuc.ncsa.myproxy.oa4mp.server.OA4MPConfigTags

    Created by Jeff Gaynor
    on 4/11/12 at 11:22 AM

    • Field Summary

      • Fields inherited from interface edu.uiuc.ncsa.security.core.configuration.ConfigurationTags

        DEBUG
      • Fields inherited from interface edu.uiuc.ncsa.security.util.mail.MailConfigurationTags

        MAIL, MAIL_COMPONENT, MAIL_CONFIG_ADMIN, MAIL_CONFIG_ALERTS, MAIL_CONFIG_DEFAULT_NAME, MAIL_CONFIG_HELP, MAIL_CONFIG_ROOT, MAIL_ENABLED, MAIL_FAIL_ON_MISSING_CONFIG, MAIL_MESSAGE_TEMPLATE, MAIL_NAME, MAIL_PARENT, MAIL_PASSWORD, MAIL_PORT, MAIL_RECIPIENTS, MAIL_SERVER, MAIL_START_TLS, MAIL_SUBJECT_TEMPLATE, MAIL_USE_SSL, MAIL_USERNAME
      • Fields inherited from interface edu.uiuc.ncsa.myproxy.oa4mp.server.OA4MPConfigTags

        ADMIN_CLIENT_STORE, ARCHIVED_USERS, AUTHORIZATION_SERVLET, AUTHORIZATION_SERVLET_HEADER_FIELD_NAME, AUTHORIZATION_SERVLET_HEADER_REQUIRE, AUTHORIZATION_SERVLET_HEADER_USE, AUTHORIZATION_SERVLET_PROXY_CONFIG_FILE, AUTHORIZATION_SERVLET_PROXY_CONFIG_NAME, AUTHORIZATION_SERVLET_RETURN_DN_AS_USERNAME, AUTHORIZATION_SERVLET_SHOW_LOGON, AUTHORIZATION_SERVLET_URI, AUTHORIZATION_SERVLET_USE_PROXY, AUTHORIZATION_SERVLET_VERIFY_USERNAME, CLIENT_APPROVAL_STORE, CLIENTS_STORE, COMPONENT, CONVERT_DN_TO_GLOBUS_ID, DEVICE_FLOW_AUTHORIZATION_URI, DEVICE_FLOW_CODE_CHARS, DEVICE_FLOW_CODE_PERIOD_LENGTH, DEVICE_FLOW_CODE_SEPARATOR, DEVICE_FLOW_INTERVAL, DEVICE_FLOW_LIFETIME, DEVICE_FLOW_SERVLET, DEVICE_FLOW_SERVLET_URI, DEVICE_FLOW_USER_CODE_LENGTH, DISABLE_DEFAULT_STORES, ENABLE_RFC8628_SUPPORT, ENABLE_RFC8693_SUPPORT, ENABLE_UTIL_SERVLET, ID_SCHEME, ID_SPP, IDENTITY_PROVIDERS, JSON_STORE, MAX_ALLOWED_NEW_CLIENT_REQUESTS, MESSAGES, MYPROXY, MYPROXY_HOST, MYPROXY_LOA, MYPROXY_LOA_NAME, MYPROXY_LOA_PORT, MYPROXY_PORT, MYPROXY_SERVER_DN, MYPROXY_SOCKET_TIMEOUT, MYPROXY_USE_PROXY, PERMISSION_STORE, PINGABLE, SEQUENCE, SERIAL_STRING_NS, SERIAL_STRING_PREFIX, SERIAL_STRING_TOKEN, SERIAL_STRINGS, SERVICE_ADDRESS, TOKEN_EXCHANGE_RECORD_STORE, TOKEN_PREFIX, TRANSACTIONS_STORE, TWO_FACTOR, USERS, VIRTUAL_ORGANIZATION_STORE
      • Fields inherited from interface edu.uiuc.ncsa.security.core.configuration.StorageConfigurationTags

        AGGREGATE_STORE, DERBY_STORE, DERBY_STORE_TYPE_FILE, DERBY_STORE_TYPE_MEMORY, DERBY_STORE_TYPE_SERVER, FILE_STORE, FS_DATA, FS_INDEX, FS_PATH, FS_REMOVE_EMPTY_FILES, FS_REMOVE_FAILED_FILES, MARIADB_STORE, MEMORY_STORE, MYSQL_STORE, POSTGRESQL_STORE, SQL_DATABASE, SQL_PREFIX, SQL_SCHEMA, SQL_TABLENAME
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenPrefixProvider​(String tokenPrefixString)
      For use in cases where you want/need to explictly set the server string.
      TokenPrefixProvider​(org.apache.commons.configuration.tree.ConfigurationNode config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean checkEvent​(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent cfgEvent)  
      Object componentFound​(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent configurationEvent)  
      String get()  
      • Methods inherited from class edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider

        addListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, getListeners, hasA, isA, removeListener, setConfig
    • Constructor Detail

      • TokenPrefixProvider

        public TokenPrefixProvider​(org.apache.commons.configuration.tree.ConfigurationNode config)
      • TokenPrefixProvider

        public TokenPrefixProvider​(String tokenPrefixString)
        For use in cases where you want/need to explictly set the server string. This bypasses looking in the configuration.
        Parameters:
        tokenPrefixString -
    • Method Detail

      • checkEvent

        protected boolean checkEvent​(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent cfgEvent)
        Specified by:
        checkEvent in class edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<String>
      • componentFound

        public Object componentFound​(edu.uiuc.ncsa.security.core.configuration.provider.CfgEvent configurationEvent)
        Specified by:
        componentFound in interface edu.uiuc.ncsa.security.core.configuration.provider.CfgEventListener
      • get

        public String get()
        Specified by:
        get in interface javax.inject.Provider<String>