Class AbstractSettings
java.lang.Object
org.springframework.security.oauth2.server.authorization.settings.AbstractSettings
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationServerSettings
,ClientSettings
,TokenSettings
Base implementation for configuration settings.
- Since:
- 0.0.2
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
AbstractSettings.AbstractBuilder<T extends AbstractSettings,
B extends AbstractSettings.AbstractBuilder<T, B>> A builder for subclasses ofAbstractSettings
. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
AbstractSettings
-
-
Method Details
-
getSetting
Returns a configuration setting.- Type Parameters:
T
- the type of the setting- Parameters:
name
- the name of the setting- Returns:
- the value of the setting, or
null
if not available
-
getSettings
Returns aMap
of the configuration settings.- Returns:
- a
Map
of the configuration settings
-
equals
-
hashCode
public int hashCode() -
toString
-