public abstract class SampleComponentConfiguration extends java.lang.Object implements OAuthComponentConfiguration
| Constructor and Description |
|---|
SampleComponentConfiguration()
Populates the configuration map with all our default values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConfigPropertyBooleanValue(java.lang.String name)
The boolean value for the property.
|
int |
getConfigPropertyIntValue(java.lang.String name)
Returns the first integer value for the property if any.
|
java.lang.String |
getConfigPropertyValue(java.lang.String name)
Returns the first string value for the property if any.
|
java.lang.String[] |
getConfigPropertyValues(java.lang.String name)
The Array of string values for the property.
|
java.lang.ClassLoader |
getPluginClassLoader()
Return a class loader suitable for loading other customer plugin classes
defined in the configuration.
|
abstract java.lang.String |
getUniqueId()
Returns a unique identifier representing this configuration instance.
|
void |
putConfigPropertyValues(java.lang.String property,
java.lang.String[] values) |
public static final java.lang.String[] MAX_AUTHORIZATION_GRANT_LIFEIMTE_SECONDS
OAuthComponentConfigurationConstants.OAUTH20_MAX_AUTHORIZATION_GRANT_LIFETIME_SECONDS
property: 604800public static final java.lang.String[] CODE_LIFETIME_SECONDS
OAuthComponentConfigurationConstants.OAUTH20_CODE_LIFETIME_SECONDS
property: 60public static final java.lang.String[] CODE_LENGTH
OAuthComponentConfigurationConstants.OAUTH20_CODE_LENGTH
property: 30public static final java.lang.String[] TOKEN_LIFETIME_SECONDS
OAuthComponentConfigurationConstants.OAUTH20_TOKEN_LIFETIME_SECONDS
property: 3600public static final java.lang.String[] ACCESS_TOKEN_LENGTH
OAuthComponentConfigurationConstants.OAUTH20_ACCESS_TOKEN_LENGTH
property: 40public static final java.lang.String[] ISSUE_REFRESH_TOKEN
OAuthComponentConfigurationConstants.OAUTH20_ISSUE_REFRESH_TOKEN
property: truepublic static final java.lang.String[] REFRESH_TOKEN_LENGTH
OAuthComponentConfigurationConstants.OAUTH20_REFRESH_TOKEN_LENGTH
property: 50public static final java.lang.String[] ACCESS_TOKENTYPEHANDLER_CLASSNAME
OAuthComponentConfigurationConstants.OAUTH20_ACCESS_TOKENTYPEHANDLER_CLASSNAME
property to use internal default token type handler. You should
not use any other value for this property.public static final java.lang.String[] MEDIATOR_CLASSNAMES
OAuthComponentConfigurationConstants.OAUTH20_MEDIATOR_CLASSNAMES
property: null, to use internal default mediator which does nothing.public static final java.lang.String[] ALLOW_PUBLIC_CLIENTS
OAuthComponentConfigurationConstants.OAUTH20_ALLOW_PUBLIC_CLIENTS
property: falsepublic static final java.lang.String[] GRANT_TYPES_ALLOWED
OAuthComponentConfigurationConstants.OAUTH20_GRANT_TYPES_ALLOWED
property: allows all grant and token typespublic SampleComponentConfiguration()
public void putConfigPropertyValues(java.lang.String property,
java.lang.String[] values)
public java.lang.ClassLoader getPluginClassLoader()
OAuthComponentConfigurationgetPluginClassLoader in interface OAuthComponentConfigurationpublic java.lang.String getConfigPropertyValue(java.lang.String name)
OAuthComponentConfigurationgetConfigPropertyValue in interface OAuthComponentConfigurationpublic java.lang.String[] getConfigPropertyValues(java.lang.String name)
OAuthComponentConfigurationgetConfigPropertyValues in interface OAuthComponentConfigurationpublic int getConfigPropertyIntValue(java.lang.String name)
OAuthComponentConfigurationgetConfigPropertyIntValue in interface OAuthComponentConfigurationpublic boolean getConfigPropertyBooleanValue(java.lang.String name)
OAuthComponentConfigurationgetConfigPropertyBooleanValue in interface OAuthComponentConfigurationpublic abstract java.lang.String getUniqueId()
OAuthComponentConfigurationgetUniqueId in interface OAuthComponentConfiguration