Class OidcProviderConfigurationHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<OidcProviderConfiguration>
org.springframework.security.oauth2.server.authorization.oidc.http.converter.OidcProviderConfigurationHttpMessageConverter
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<OidcProviderConfiguration>
public class OidcProviderConfigurationHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<OidcProviderConfiguration>
A
HttpMessageConverter for an OpenID Provider
Configuration Response.- Since:
- 0.1.0
- See Also:
-
AbstractHttpMessageConverterOidcProviderConfiguration
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OidcProviderConfigurationreadInternal(Class<? extends OidcProviderConfiguration> clazz, org.springframework.http.HttpInputMessage inputMessage) final voidsetProviderConfigurationConverter(org.springframework.core.convert.converter.Converter<Map<String, Object>, OidcProviderConfiguration> providerConfigurationConverter) Sets theConverterused for converting the OpenID Provider Configuration parameters to anOidcProviderConfiguration.final voidsetProviderConfigurationParametersConverter(org.springframework.core.convert.converter.Converter<OidcProviderConfiguration, Map<String, Object>> providerConfigurationParametersConverter) Sets theConverterused for converting theOidcProviderConfigurationto aMaprepresentation of the OpenID Provider Configuration.protected booleanprotected voidwriteInternal(OidcProviderConfiguration providerConfiguration, org.springframework.http.HttpOutputMessage outputMessage) Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
Constructor Details
-
OidcProviderConfigurationHttpMessageConverter
public OidcProviderConfigurationHttpMessageConverter()
-
-
Method Details
-
supports
- Specified by:
supportsin classorg.springframework.http.converter.AbstractHttpMessageConverter<OidcProviderConfiguration>
-
readInternal
protected OidcProviderConfiguration readInternal(Class<? extends OidcProviderConfiguration> clazz, org.springframework.http.HttpInputMessage inputMessage) throws org.springframework.http.converter.HttpMessageNotReadableException - Specified by:
readInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<OidcProviderConfiguration>- Throws:
org.springframework.http.converter.HttpMessageNotReadableException
-
writeInternal
protected void writeInternal(OidcProviderConfiguration providerConfiguration, org.springframework.http.HttpOutputMessage outputMessage) throws org.springframework.http.converter.HttpMessageNotWritableException - Specified by:
writeInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<OidcProviderConfiguration>- Throws:
org.springframework.http.converter.HttpMessageNotWritableException
-
setProviderConfigurationConverter
public final void setProviderConfigurationConverter(org.springframework.core.convert.converter.Converter<Map<String, Object>, OidcProviderConfiguration> providerConfigurationConverter) Sets theConverterused for converting the OpenID Provider Configuration parameters to anOidcProviderConfiguration.- Parameters:
providerConfigurationConverter- theConverterused for converting to anOidcProviderConfiguration
-
setProviderConfigurationParametersConverter
public final void setProviderConfigurationParametersConverter(org.springframework.core.convert.converter.Converter<OidcProviderConfiguration, Map<String, Object>> providerConfigurationParametersConverter) Sets theConverterused for converting theOidcProviderConfigurationto aMaprepresentation of the OpenID Provider Configuration.- Parameters:
providerConfigurationParametersConverter- theConverterused for converting to aMaprepresentation of the OpenID Provider Configuration
-