Class TokenPrefixProvider
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<String>
-
- org.cilogon.oauth2.servlet.storage.TokenPrefixProvider
-
- All Implemented Interfaces:
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>
,org.oa4mp.server.api.OA4MPConfigTags
public class TokenPrefixProvider extends edu.uiuc.ncsa.security.core.configuration.provider.HierarchicalConfigProvider<String> implements org.oa4mp.server.api.OA4MPConfigTags
Created by Jeff Gaynor
on 4/11/12 at 11:22 AM
-
-
Field Summary
-
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 org.oa4mp.server.api.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_CCF_SUPPORT, 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 classedu.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 interfaceedu.uiuc.ncsa.security.core.configuration.provider.CfgEventListener
-
-