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
Nested ClassesModifier and TypeClassDescriptionprotected static classAbstractSettings.AbstractBuilder<T extends AbstractSettings,B extends AbstractSettings.AbstractBuilder<T, B>> A builder for subclasses ofAbstractSettings. -
Constructor Summary
Constructors -
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
nullif not available
-
getSettings
Returns aMapof the configuration settings.- Returns:
- a
Mapof the configuration settings
-
equals
-
hashCode
public int hashCode() -
toString
-