Checkstyle Fixes
- Javadoc tag ordering - Private constructors before inner classes Issue gh-10394
This commit is contained in:
parent
0c088e278a
commit
f836897190
|
@ -40,9 +40,9 @@ import org.jasig.cas.client.authentication.AttributePrincipal;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CasJackson2Module
|
* @see CasJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -37,9 +37,9 @@ import org.jasig.cas.client.proxy.ProxyRetriever;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CasJackson2Module
|
* @see CasJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -47,9 +47,9 @@ import org.springframework.security.core.userdetails.UserDetails;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CasJackson2Module
|
* @see CasJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, isGetterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, isGetterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -19,8 +19,8 @@ package org.springframework.security.config;
|
||||||
/**
|
/**
|
||||||
* Callback interface that accepts a single input argument and returns no result.
|
* Callback interface that accepts a single input argument and returns no result.
|
||||||
*
|
*
|
||||||
* @author Eleftheria Stein
|
|
||||||
* @param <T> the type of the input to the operation
|
* @param <T> the type of the input to the operation
|
||||||
|
* @author Eleftheria Stein
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
|
|
|
@ -27,8 +27,8 @@ import org.springframework.security.config.annotation.authentication.builders.Au
|
||||||
* {@link AuthenticationConfiguration} to configure the global
|
* {@link AuthenticationConfiguration} to configure the global
|
||||||
* {@link AuthenticationManagerBuilder}.
|
* {@link AuthenticationManagerBuilder}.
|
||||||
*
|
*
|
||||||
* @since 5.0
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
|
* @since 5.0
|
||||||
*/
|
*/
|
||||||
@Order(100)
|
@Order(100)
|
||||||
public abstract class GlobalAuthenticationConfigurerAdapter
|
public abstract class GlobalAuthenticationConfigurerAdapter
|
||||||
|
|
|
@ -30,10 +30,10 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||||
* class is not intended to be imported manually rather it is imported automatically when
|
* class is not intended to be imported manually rather it is imported automatically when
|
||||||
* using {@link EnableWebSecurity} or {@link EnableGlobalMethodSecurity}.
|
* using {@link EnableWebSecurity} or {@link EnableGlobalMethodSecurity}.
|
||||||
*
|
*
|
||||||
* @see EnableWebSecurity
|
|
||||||
* @see EnableGlobalMethodSecurity
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
|
* @see EnableWebSecurity
|
||||||
|
* @see EnableGlobalMethodSecurity
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
||||||
|
|
|
@ -31,8 +31,8 @@ import org.springframework.security.config.core.GrantedAuthorityDefaults;
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
* @author Josh Cummings
|
* @author Josh Cummings
|
||||||
* @see EnableMethodSecurity
|
|
||||||
* @since 5.6
|
* @since 5.6
|
||||||
|
* @see EnableMethodSecurity
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
||||||
|
|
|
@ -40,8 +40,8 @@ import org.springframework.security.config.core.GrantedAuthorityDefaults;
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
* @author Josh Cummings
|
* @author Josh Cummings
|
||||||
* @see EnableMethodSecurity
|
|
||||||
* @since 5.6
|
* @since 5.6
|
||||||
|
* @see EnableMethodSecurity
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
||||||
|
|
|
@ -29,8 +29,8 @@ import org.springframework.security.authorization.method.AuthorizationManagerBef
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
* @author Josh Cummings
|
* @author Josh Cummings
|
||||||
* @see EnableMethodSecurity
|
|
||||||
* @since 5.6
|
* @since 5.6
|
||||||
|
* @see EnableMethodSecurity
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
|
||||||
|
|
|
@ -60,11 +60,11 @@ import org.springframework.util.Assert;
|
||||||
* {@link WebSecurityConfigurer} and exposing it as a {@link Configuration}. This
|
* {@link WebSecurityConfigurer} and exposing it as a {@link Configuration}. This
|
||||||
* configuration is imported when using {@link EnableWebSecurity}.
|
* configuration is imported when using {@link EnableWebSecurity}.
|
||||||
*
|
*
|
||||||
* @see EnableWebSecurity
|
|
||||||
* @see WebSecurity
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @author Keesun Baik
|
* @author Keesun Baik
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
|
* @see EnableWebSecurity
|
||||||
|
* @see WebSecurity
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class WebSecurityConfiguration implements ImportAware, BeanClassLoaderAware {
|
public class WebSecurityConfiguration implements ImportAware, BeanClassLoaderAware {
|
||||||
|
|
|
@ -87,8 +87,8 @@ import org.springframework.web.accept.HeaderContentNegotiationStrategy;
|
||||||
* org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer = sample.MyClassThatExtendsAbstractHttpConfigurer, sample.OtherThatExtendsAbstractHttpConfigurer
|
* org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer = sample.MyClassThatExtendsAbstractHttpConfigurer, sample.OtherThatExtendsAbstractHttpConfigurer
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @see EnableWebSecurity
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
|
* @see EnableWebSecurity
|
||||||
*/
|
*/
|
||||||
@Order(100)
|
@Order(100)
|
||||||
public abstract class WebSecurityConfigurerAdapter implements WebSecurityConfigurer<WebSecurity> {
|
public abstract class WebSecurityConfigurerAdapter implements WebSecurityConfigurer<WebSecurity> {
|
||||||
|
|
|
@ -490,8 +490,8 @@ public class HeadersConfigurer<H extends HttpSecurityBuilder<H>>
|
||||||
* @return the {@link FeaturePolicyConfig} for additional configuration
|
* @return the {@link FeaturePolicyConfig} for additional configuration
|
||||||
* @throws IllegalArgumentException if policyDirectives is {@code null} or empty
|
* @throws IllegalArgumentException if policyDirectives is {@code null} or empty
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
* @see FeaturePolicyHeaderWriter
|
|
||||||
* @deprecated Use {@link #permissionsPolicy(Customizer)} instead.
|
* @deprecated Use {@link #permissionsPolicy(Customizer)} instead.
|
||||||
|
* @seeObjectPostProcessorConfiguration FeaturePolicyHeaderWriter
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public FeaturePolicyConfig featurePolicy(String policyDirectives) {
|
public FeaturePolicyConfig featurePolicy(String policyDirectives) {
|
||||||
|
|
|
@ -49,15 +49,15 @@ import org.springframework.util.Assert;
|
||||||
* <li>{@link ClientRegistrationRepository}</li>
|
* <li>{@link ClientRegistrationRepository}</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
|
* @author Joe Grandja
|
||||||
|
* @since 5.0
|
||||||
|
* @see OAuth2AuthorizationRequestRedirectFilter
|
||||||
|
* @see ClientRegistrationRepository
|
||||||
* @deprecated It is not recommended to use the implicit flow due to the inherent risks of
|
* @deprecated It is not recommended to use the implicit flow due to the inherent risks of
|
||||||
* returning access tokens in an HTTP redirect without any confirmation that it has been
|
* returning access tokens in an HTTP redirect without any confirmation that it has been
|
||||||
* received by the client. See reference
|
* received by the client. See reference
|
||||||
* <a target="_blank" href="https://oauth.net/2/grant-types/implicit/">OAuth 2.0 Implicit
|
* <a target="_blank" href="https://oauth.net/2/grant-types/implicit/">OAuth 2.0 Implicit
|
||||||
* Grant</a>.
|
* Grant</a>.
|
||||||
* @author Joe Grandja
|
|
||||||
* @since 5.0
|
|
||||||
* @see OAuth2AuthorizationRequestRedirectFilter
|
|
||||||
* @see ClientRegistrationRepository
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final class ImplicitGrantConfigurer<B extends HttpSecurityBuilder<B>>
|
public final class ImplicitGrantConfigurer<B extends HttpSecurityBuilder<B>>
|
||||||
|
|
|
@ -683,10 +683,10 @@ public final class OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>>
|
||||||
/**
|
/**
|
||||||
* Sets a custom {@link OAuth2User} type and associates it to the provided client
|
* Sets a custom {@link OAuth2User} type and associates it to the provided client
|
||||||
* {@link ClientRegistration#getRegistrationId() registration identifier}.
|
* {@link ClientRegistration#getRegistrationId() registration identifier}.
|
||||||
* @deprecated See {@link CustomUserTypesOAuth2UserService} for alternative usage.
|
|
||||||
* @param customUserType a custom {@link OAuth2User} type
|
* @param customUserType a custom {@link OAuth2User} type
|
||||||
* @param clientRegistrationId the client registration identifier
|
* @param clientRegistrationId the client registration identifier
|
||||||
* @return the {@link UserInfoEndpointConfig} for further configuration
|
* @return the {@link UserInfoEndpointConfig} for further configuration
|
||||||
|
* @deprecated See {@link CustomUserTypesOAuth2UserService} for alternative usage.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public UserInfoEndpointConfig customUserType(Class<? extends OAuth2User> customUserType,
|
public UserInfoEndpointConfig customUserType(Class<? extends OAuth2User> customUserType,
|
||||||
|
|
|
@ -37,9 +37,9 @@ import org.springframework.web.servlet.support.RequestDataValueProcessor;
|
||||||
* {@link AuthenticationPrincipalArgumentResolver} as a
|
* {@link AuthenticationPrincipalArgumentResolver} as a
|
||||||
* {@link HandlerMethodArgumentResolver}.
|
* {@link HandlerMethodArgumentResolver}.
|
||||||
*
|
*
|
||||||
* @deprecated This is applied internally using SpringWebMvcImportSelector
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
|
* @deprecated This is applied internally using SpringWebMvcImportSelector
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
|
|
|
@ -79,8 +79,8 @@ import org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsSe
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @since 4.0
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
|
* @since 4.0
|
||||||
*/
|
*/
|
||||||
@Order(Ordered.HIGHEST_PRECEDENCE + 100)
|
@Order(Ordered.HIGHEST_PRECEDENCE + 100)
|
||||||
@Import(ObjectPostProcessorConfiguration.class)
|
@Import(ObjectPostProcessorConfiguration.class)
|
||||||
|
|
|
@ -40,9 +40,9 @@ import org.springframework.security.core.GrantedAuthority;
|
||||||
* <i>Note: This class will save full class name into a property called @class</i>
|
* <i>Note: This class will save full class name into a property called @class</i>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, isGetterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, isGetterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -36,8 +36,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* called @class</i> <i>The cause and stackTrace are ignored in the serialization.</i>
|
* called @class</i> <i>The cause and stackTrace are ignored in the serialization.</i>
|
||||||
*
|
*
|
||||||
* @author Yannick Lombardi
|
* @author Yannick Lombardi
|
||||||
* @see CoreJackson2Module
|
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
|
* @see CoreJackson2Module
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true, value = { "cause", "stackTrace" })
|
@JsonIgnoreProperties(ignoreUnknown = true, value = { "cause", "stackTrace" })
|
||||||
|
|
|
@ -44,8 +44,8 @@ import org.springframework.security.core.userdetails.User;
|
||||||
* of all security modules.</b>
|
* of all security modules.</b>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh.
|
* @author Jitendra Singh.
|
||||||
* @see SecurityJackson2Modules
|
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
|
* @see SecurityJackson2Modules
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class CoreJackson2Module extends SimpleModule {
|
public class CoreJackson2Module extends SimpleModule {
|
||||||
|
|
|
@ -47,9 +47,9 @@ import org.springframework.security.core.GrantedAuthority;
|
||||||
* called @class</i>
|
* called @class</i>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -32,9 +32,9 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -32,10 +32,10 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
|
* @since 5.0.2
|
||||||
* @see UnmodifiableListDeserializer
|
* @see UnmodifiableListDeserializer
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 5.0.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonDeserialize(using = UnmodifiableListDeserializer.class)
|
@JsonDeserialize(using = UnmodifiableListDeserializer.class)
|
||||||
|
|
|
@ -32,10 +32,10 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see UnmodifiableSetDeserializer
|
* @see UnmodifiableSetDeserializer
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonDeserialize(using = UnmodifiableSetDeserializer.class)
|
@JsonDeserialize(using = UnmodifiableSetDeserializer.class)
|
||||||
|
|
|
@ -37,10 +37,10 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see UserDeserializer
|
* @see UserDeserializer
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonDeserialize(using = UserDeserializer.class)
|
@JsonDeserialize(using = UserDeserializer.class)
|
||||||
|
|
|
@ -39,9 +39,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see CoreJackson2Module
|
* @see CoreJackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -29,9 +29,9 @@ import org.springframework.util.Assert;
|
||||||
/**
|
/**
|
||||||
* Simple expression configuration attribute for use in {@link Message} authorizations.
|
* Simple expression configuration attribute for use in {@link Message} authorizations.
|
||||||
*
|
*
|
||||||
* @since 4.0
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @author Daniel Bustamante Ospina
|
* @author Daniel Bustamante Ospina
|
||||||
|
* @since 4.0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
class MessageExpressionConfigAttribute implements ConfigAttribute, EvaluationContextPostProcessor<Message<?>> {
|
class MessageExpressionConfigAttribute implements ConfigAttribute, EvaluationContextPostProcessor<Message<?>> {
|
||||||
|
|
|
@ -58,7 +58,6 @@ import org.springframework.util.CollectionUtils;
|
||||||
*
|
*
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
* @deprecated Use {@link DefaultAuthorizationCodeTokenResponseClient}
|
|
||||||
* @see OAuth2AccessTokenResponseClient
|
* @see OAuth2AccessTokenResponseClient
|
||||||
* @see OAuth2AuthorizationCodeGrantRequest
|
* @see OAuth2AuthorizationCodeGrantRequest
|
||||||
* @see OAuth2AccessTokenResponse
|
* @see OAuth2AccessTokenResponse
|
||||||
|
@ -71,6 +70,7 @@ import org.springframework.util.CollectionUtils;
|
||||||
* @see <a target="_blank" href=
|
* @see <a target="_blank" href=
|
||||||
* "https://tools.ietf.org/html/rfc6749#section-4.1.4">Section 4.1.4 Access Token Response
|
* "https://tools.ietf.org/html/rfc6749#section-4.1.4">Section 4.1.4 Access Token Response
|
||||||
* (Authorization Code Grant)</a>
|
* (Authorization Code Grant)</a>
|
||||||
|
* @deprecated Use {@link DefaultAuthorizationCodeTokenResponseClient}
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class NimbusAuthorizationCodeTokenResponseClient
|
public class NimbusAuthorizationCodeTokenResponseClient
|
||||||
|
|
|
@ -112,8 +112,8 @@ public final class ClientRegistration implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the uri (or uri template) for the redirection endpoint.
|
* Returns the uri (or uri template) for the redirection endpoint.
|
||||||
* @deprecated Use {@link #getRedirectUri()} instead
|
|
||||||
* @return the uri (or uri template) for the redirection endpoint
|
* @return the uri (or uri template) for the redirection endpoint
|
||||||
|
* @deprecated Use {@link #getRedirectUri()} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public String getRedirectUriTemplate() {
|
public String getRedirectUriTemplate() {
|
||||||
|
@ -445,10 +445,10 @@ public final class ClientRegistration implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the uri (or uri template) for the redirection endpoint.
|
* Sets the uri (or uri template) for the redirection endpoint.
|
||||||
* @deprecated Use {@link #redirectUri(String)} instead
|
|
||||||
* @param redirectUriTemplate the uri (or uri template) for the redirection
|
* @param redirectUriTemplate the uri (or uri template) for the redirection
|
||||||
* endpoint
|
* endpoint
|
||||||
* @return the {@link Builder}
|
* @return the {@link Builder}
|
||||||
|
* @deprecated Use {@link #redirectUri(String)} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Builder redirectUriTemplate(String redirectUriTemplate) {
|
public Builder redirectUriTemplate(String redirectUriTemplate) {
|
||||||
|
|
|
@ -42,18 +42,18 @@ import org.springframework.web.client.RestTemplate;
|
||||||
* {@link OAuth2User} type(s) keyed by {@code String}, which represents the
|
* {@link OAuth2User} type(s) keyed by {@code String}, which represents the
|
||||||
* {@link ClientRegistration#getRegistrationId() Registration Id} of the Client.
|
* {@link ClientRegistration#getRegistrationId() Registration Id} of the Client.
|
||||||
*
|
*
|
||||||
* @deprecated It is recommended to use a delegation-based strategy of an
|
|
||||||
* {@link OAuth2UserService} to support custom {@link OAuth2User} types, as it provides
|
|
||||||
* much greater flexibility compared to this implementation. See the
|
|
||||||
* <a target="_blank" href=
|
|
||||||
* "https://docs.spring.io/spring-security/site/docs/current/reference/html5/#oauth2login-advanced-map-authorities-oauth2userservice">reference
|
|
||||||
* manual</a> for details on how to implement.
|
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
* @see OAuth2UserService
|
* @see OAuth2UserService
|
||||||
* @see OAuth2UserRequest
|
* @see OAuth2UserRequest
|
||||||
* @see OAuth2User
|
* @see OAuth2User
|
||||||
* @see ClientRegistration
|
* @see ClientRegistration
|
||||||
|
* @deprecated It is recommended to use a delegation-based strategy of an
|
||||||
|
* {@link OAuth2UserService} to support custom {@link OAuth2User} types, as it provides
|
||||||
|
* much greater flexibility compared to this implementation. See the
|
||||||
|
* <a target="_blank" href=
|
||||||
|
* "https://docs.spring.io/spring-security/site/docs/current/reference/html5/#oauth2login-advanced-map-authorities-oauth2userservice">reference
|
||||||
|
* manual</a> for details on how to implement.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class CustomUserTypesOAuth2UserService implements OAuth2UserService<OAuth2UserRequest, OAuth2User> {
|
public class CustomUserTypesOAuth2UserService implements OAuth2UserService<OAuth2UserRequest, OAuth2User> {
|
||||||
|
|
|
@ -27,13 +27,13 @@ import org.springframework.security.oauth2.core.user.OAuth2User;
|
||||||
* {@link OAuth2UserRequest#getClientRegistration() Client} and returning an
|
* {@link OAuth2UserRequest#getClientRegistration() Client} and returning an
|
||||||
* {@link AuthenticatedPrincipal} in the form of an {@link OAuth2User}.
|
* {@link AuthenticatedPrincipal} in the form of an {@link OAuth2User}.
|
||||||
*
|
*
|
||||||
|
* @param <R> The type of OAuth 2.0 User Request
|
||||||
|
* @param <U> The type of OAuth 2.0 User
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
* @see OAuth2UserRequest
|
* @see OAuth2UserRequest
|
||||||
* @see OAuth2User
|
* @see OAuth2User
|
||||||
* @see AuthenticatedPrincipal
|
* @see AuthenticatedPrincipal
|
||||||
* @param <R> The type of OAuth 2.0 User Request
|
|
||||||
* @param <U> The type of OAuth 2.0 User
|
|
||||||
*/
|
*/
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface OAuth2UserService<R extends OAuth2UserRequest, U extends OAuth2User> {
|
public interface OAuth2UserService<R extends OAuth2UserRequest, U extends OAuth2User> {
|
||||||
|
|
|
@ -29,13 +29,13 @@ import org.springframework.security.oauth2.core.user.OAuth2User;
|
||||||
* {@link OAuth2UserRequest#getClientRegistration() Client} and returning an
|
* {@link OAuth2UserRequest#getClientRegistration() Client} and returning an
|
||||||
* {@link AuthenticatedPrincipal} in the form of an {@link OAuth2User}.
|
* {@link AuthenticatedPrincipal} in the form of an {@link OAuth2User}.
|
||||||
*
|
*
|
||||||
|
* @param <R> The type of OAuth 2.0 User Request
|
||||||
|
* @param <U> The type of OAuth 2.0 User
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
* @see OAuth2UserRequest
|
* @see OAuth2UserRequest
|
||||||
* @see OAuth2User
|
* @see OAuth2User
|
||||||
* @see AuthenticatedPrincipal
|
* @see AuthenticatedPrincipal
|
||||||
* @param <R> The type of OAuth 2.0 User Request
|
|
||||||
* @param <U> The type of OAuth 2.0 User
|
|
||||||
*/
|
*/
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface ReactiveOAuth2UserService<R extends OAuth2UserRequest, U extends OAuth2User> {
|
public interface ReactiveOAuth2UserService<R extends OAuth2UserRequest, U extends OAuth2User> {
|
||||||
|
|
|
@ -59,12 +59,12 @@ public interface AuthorizationRequestRepository<T extends OAuth2AuthorizationReq
|
||||||
/**
|
/**
|
||||||
* Removes and returns the {@link OAuth2AuthorizationRequest} associated to the
|
* Removes and returns the {@link OAuth2AuthorizationRequest} associated to the
|
||||||
* provided {@code HttpServletRequest} or if not available returns {@code null}.
|
* provided {@code HttpServletRequest} or if not available returns {@code null}.
|
||||||
* @deprecated Use
|
|
||||||
* {@link #removeAuthorizationRequest(HttpServletRequest, HttpServletResponse)}
|
|
||||||
* instead
|
|
||||||
* @param request the {@code HttpServletRequest}
|
* @param request the {@code HttpServletRequest}
|
||||||
* @return the removed {@link OAuth2AuthorizationRequest} or {@code null} if not
|
* @return the removed {@link OAuth2AuthorizationRequest} or {@code null} if not
|
||||||
* available
|
* available
|
||||||
|
* @deprecated Use
|
||||||
|
* {@link #removeAuthorizationRequest(HttpServletRequest, HttpServletResponse)}
|
||||||
|
* instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
T removeAuthorizationRequest(HttpServletRequest request);
|
T removeAuthorizationRequest(HttpServletRequest request);
|
||||||
|
|
|
@ -156,6 +156,9 @@ public final class OAuth2AuthorizedClientArgumentResolver implements HandlerMeth
|
||||||
/**
|
/**
|
||||||
* Sets the client used when requesting an access token credential at the Token
|
* Sets the client used when requesting an access token credential at the Token
|
||||||
* Endpoint for the {@code client_credentials} grant.
|
* Endpoint for the {@code client_credentials} grant.
|
||||||
|
* @param clientCredentialsTokenResponseClient the client used when requesting an
|
||||||
|
* access token credential at the Token Endpoint for the {@code client_credentials}
|
||||||
|
* grant
|
||||||
* @deprecated Use
|
* @deprecated Use
|
||||||
* {@link #OAuth2AuthorizedClientArgumentResolver(OAuth2AuthorizedClientManager)}
|
* {@link #OAuth2AuthorizedClientArgumentResolver(OAuth2AuthorizedClientManager)}
|
||||||
* instead. Create an instance of
|
* instead. Create an instance of
|
||||||
|
@ -165,9 +168,6 @@ public final class OAuth2AuthorizedClientArgumentResolver implements HandlerMeth
|
||||||
* to
|
* to
|
||||||
* {@link DefaultOAuth2AuthorizedClientManager#setAuthorizedClientProvider(OAuth2AuthorizedClientProvider)
|
* {@link DefaultOAuth2AuthorizedClientManager#setAuthorizedClientProvider(OAuth2AuthorizedClientProvider)
|
||||||
* DefaultOAuth2AuthorizedClientManager}.
|
* DefaultOAuth2AuthorizedClientManager}.
|
||||||
* @param clientCredentialsTokenResponseClient the client used when requesting an
|
|
||||||
* access token credential at the Token Endpoint for the {@code client_credentials}
|
|
||||||
* grant
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setClientCredentialsTokenResponseClient(
|
public void setClientCredentialsTokenResponseClient(
|
||||||
|
|
|
@ -355,6 +355,7 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements
|
||||||
/**
|
/**
|
||||||
* Sets the {@link ReactiveOAuth2AccessTokenResponseClient} used for getting an
|
* Sets the {@link ReactiveOAuth2AccessTokenResponseClient} used for getting an
|
||||||
* {@link OAuth2AuthorizedClient} for the client_credentials grant.
|
* {@link OAuth2AuthorizedClient} for the client_credentials grant.
|
||||||
|
* @param clientCredentialsTokenResponseClient the client to use
|
||||||
* @deprecated Use
|
* @deprecated Use
|
||||||
* {@link #ServerOAuth2AuthorizedClientExchangeFilterFunction(ReactiveOAuth2AuthorizedClientManager)}
|
* {@link #ServerOAuth2AuthorizedClientExchangeFilterFunction(ReactiveOAuth2AuthorizedClientManager)}
|
||||||
* instead. Create an instance of
|
* instead. Create an instance of
|
||||||
|
@ -364,7 +365,6 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements
|
||||||
* supply it to
|
* supply it to
|
||||||
* {@link DefaultReactiveOAuth2AuthorizedClientManager#setAuthorizedClientProvider(ReactiveOAuth2AuthorizedClientProvider)
|
* {@link DefaultReactiveOAuth2AuthorizedClientManager#setAuthorizedClientProvider(ReactiveOAuth2AuthorizedClientProvider)
|
||||||
* DefaultReactiveOAuth2AuthorizedClientManager}.
|
* DefaultReactiveOAuth2AuthorizedClientManager}.
|
||||||
* @param clientCredentialsTokenResponseClient the client to use
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setClientCredentialsTokenResponseClient(
|
public void setClientCredentialsTokenResponseClient(
|
||||||
|
@ -407,13 +407,13 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements
|
||||||
/**
|
/**
|
||||||
* An access token will be considered expired by comparing its expiration to now +
|
* An access token will be considered expired by comparing its expiration to now +
|
||||||
* this skewed Duration. The default is 1 minute.
|
* this skewed Duration. The default is 1 minute.
|
||||||
|
* @param accessTokenExpiresSkew the Duration to use.
|
||||||
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the
|
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the
|
||||||
* specific {@link ReactiveOAuth2AuthorizedClientProvider} implementation, e.g.
|
* specific {@link ReactiveOAuth2AuthorizedClientProvider} implementation, e.g.
|
||||||
* {@link ClientCredentialsReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
* {@link ClientCredentialsReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
||||||
* ClientCredentialsReactiveOAuth2AuthorizedClientProvider} or
|
* ClientCredentialsReactiveOAuth2AuthorizedClientProvider} or
|
||||||
* {@link RefreshTokenReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
* {@link RefreshTokenReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
||||||
* RefreshTokenReactiveOAuth2AuthorizedClientProvider}.
|
* RefreshTokenReactiveOAuth2AuthorizedClientProvider}.
|
||||||
* @param accessTokenExpiresSkew the Duration to use.
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) {
|
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) {
|
||||||
|
|
|
@ -239,6 +239,7 @@ public final class ServletOAuth2AuthorizedClientExchangeFilterFunction implement
|
||||||
/**
|
/**
|
||||||
* Sets the {@link OAuth2AccessTokenResponseClient} used for getting an
|
* Sets the {@link OAuth2AccessTokenResponseClient} used for getting an
|
||||||
* {@link OAuth2AuthorizedClient} for the client_credentials grant.
|
* {@link OAuth2AuthorizedClient} for the client_credentials grant.
|
||||||
|
* @param clientCredentialsTokenResponseClient the client to use
|
||||||
* @deprecated Use
|
* @deprecated Use
|
||||||
* {@link #ServletOAuth2AuthorizedClientExchangeFilterFunction(OAuth2AuthorizedClientManager)}
|
* {@link #ServletOAuth2AuthorizedClientExchangeFilterFunction(OAuth2AuthorizedClientManager)}
|
||||||
* instead. Create an instance of
|
* instead. Create an instance of
|
||||||
|
@ -248,7 +249,6 @@ public final class ServletOAuth2AuthorizedClientExchangeFilterFunction implement
|
||||||
* to
|
* to
|
||||||
* {@link DefaultOAuth2AuthorizedClientManager#setAuthorizedClientProvider(OAuth2AuthorizedClientProvider)
|
* {@link DefaultOAuth2AuthorizedClientManager#setAuthorizedClientProvider(OAuth2AuthorizedClientProvider)
|
||||||
* DefaultOAuth2AuthorizedClientManager}.
|
* DefaultOAuth2AuthorizedClientManager}.
|
||||||
* @param clientCredentialsTokenResponseClient the client to use
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setClientCredentialsTokenResponseClient(
|
public void setClientCredentialsTokenResponseClient(
|
||||||
|
@ -397,13 +397,13 @@ public final class ServletOAuth2AuthorizedClientExchangeFilterFunction implement
|
||||||
/**
|
/**
|
||||||
* An access token will be considered expired by comparing its expiration to now +
|
* An access token will be considered expired by comparing its expiration to now +
|
||||||
* this skewed Duration. The default is 1 minute.
|
* this skewed Duration. The default is 1 minute.
|
||||||
|
* @param accessTokenExpiresSkew the Duration to use.
|
||||||
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the
|
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the
|
||||||
* specific {@link OAuth2AuthorizedClientProvider} implementation, e.g.
|
* specific {@link OAuth2AuthorizedClientProvider} implementation, e.g.
|
||||||
* {@link ClientCredentialsOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
* {@link ClientCredentialsOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
||||||
* ClientCredentialsOAuth2AuthorizedClientProvider} or
|
* ClientCredentialsOAuth2AuthorizedClientProvider} or
|
||||||
* {@link RefreshTokenOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
* {@link RefreshTokenOAuth2AuthorizedClientProvider#setClockSkew(Duration)
|
||||||
* RefreshTokenOAuth2AuthorizedClientProvider}.
|
* RefreshTokenOAuth2AuthorizedClientProvider}.
|
||||||
* @param accessTokenExpiresSkew the Duration to use.
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) {
|
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) {
|
||||||
|
|
|
@ -35,10 +35,10 @@ import org.springframework.web.server.ServerWebExchange;
|
||||||
* {@link ServerWebExchange} is null and that the {@link Authentication} is either null or
|
* {@link ServerWebExchange} is null and that the {@link Authentication} is either null or
|
||||||
* anonymous to prevent using it incorrectly.
|
* anonymous to prevent using it incorrectly.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager}
|
|
||||||
* instead
|
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
|
* @deprecated Use {@link AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager}
|
||||||
|
* instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class UnAuthenticatedServerOAuth2AuthorizedClientRepository implements ServerOAuth2AuthorizedClientRepository {
|
public class UnAuthenticatedServerOAuth2AuthorizedClientRepository implements ServerOAuth2AuthorizedClientRepository {
|
||||||
|
|
|
@ -42,11 +42,10 @@ public interface ClaimAccessor {
|
||||||
/**
|
/**
|
||||||
* Returns the claim value as a {@code T} type. The claim value is expected to be of
|
* Returns the claim value as a {@code T} type. The claim value is expected to be of
|
||||||
* type {@code T}.
|
* type {@code T}.
|
||||||
*
|
|
||||||
* @since 5.2
|
|
||||||
* @param claim the name of the claim
|
* @param claim the name of the claim
|
||||||
* @param <T> the type of the claim value
|
* @param <T> the type of the claim value
|
||||||
* @return the claim value
|
* @return the claim value
|
||||||
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default <T> T getClaim(String claim) {
|
default <T> T getClaim(String claim) {
|
||||||
|
|
|
@ -25,10 +25,10 @@ import org.springframework.core.convert.converter.Converter;
|
||||||
* A {@link Converter} that converts the provided OAuth 2.0 Access Token Response
|
* A {@link Converter} that converts the provided OAuth 2.0 Access Token Response
|
||||||
* parameters to an {@link OAuth2AccessTokenResponse}.
|
* parameters to an {@link OAuth2AccessTokenResponse}.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link DefaultMapOAuth2AccessTokenResponseConverter} instead
|
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @author Nikita Konev
|
* @author Nikita Konev
|
||||||
* @since 5.3
|
* @since 5.3
|
||||||
|
* @deprecated Use {@link DefaultMapOAuth2AccessTokenResponseConverter} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final class MapOAuth2AccessTokenResponseConverter
|
public final class MapOAuth2AccessTokenResponseConverter
|
||||||
|
|
|
@ -25,10 +25,10 @@ import org.springframework.core.convert.converter.Converter;
|
||||||
* A {@link Converter} that converts the provided {@link OAuth2AccessTokenResponse} to a
|
* A {@link Converter} that converts the provided {@link OAuth2AccessTokenResponse} to a
|
||||||
* {@code Map} representation of the OAuth 2.0 Access Token Response parameters.
|
* {@code Map} representation of the OAuth 2.0 Access Token Response parameters.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link DefaultOAuth2AccessTokenResponseMapConverter} instead
|
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @author Nikita Konev
|
* @author Nikita Konev
|
||||||
* @since 5.3
|
* @since 5.3
|
||||||
|
* @deprecated Use {@link DefaultOAuth2AccessTokenResponseMapConverter} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final class OAuth2AccessTokenResponseMapConverter
|
public final class OAuth2AccessTokenResponseMapConverter
|
||||||
|
|
|
@ -133,9 +133,9 @@ public class OAuth2AccessTokenResponseHttpMessageConverter
|
||||||
/**
|
/**
|
||||||
* Sets the {@link Converter} used for converting the OAuth 2.0 Access Token Response
|
* Sets the {@link Converter} used for converting the OAuth 2.0 Access Token Response
|
||||||
* parameters to an {@link OAuth2AccessTokenResponse}.
|
* parameters to an {@link OAuth2AccessTokenResponse}.
|
||||||
* @deprecated Use {@link #setAccessTokenResponseConverter(Converter)} instead
|
|
||||||
* @param tokenResponseConverter the {@link Converter} used for converting to an
|
* @param tokenResponseConverter the {@link Converter} used for converting to an
|
||||||
* {@link OAuth2AccessTokenResponse}
|
* {@link OAuth2AccessTokenResponse}
|
||||||
|
* @deprecated Use {@link #setAccessTokenResponseConverter(Converter)} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final void setTokenResponseConverter(
|
public final void setTokenResponseConverter(
|
||||||
|
@ -161,10 +161,10 @@ public class OAuth2AccessTokenResponseHttpMessageConverter
|
||||||
* Sets the {@link Converter} used for converting the
|
* Sets the {@link Converter} used for converting the
|
||||||
* {@link OAuth2AccessTokenResponse} to a {@code Map} representation of the OAuth 2.0
|
* {@link OAuth2AccessTokenResponse} to a {@code Map} representation of the OAuth 2.0
|
||||||
* Access Token Response parameters.
|
* Access Token Response parameters.
|
||||||
* @deprecated Use {@link #setAccessTokenResponseParametersConverter(Converter)}
|
|
||||||
* instead
|
|
||||||
* @param tokenResponseParametersConverter the {@link Converter} used for converting
|
* @param tokenResponseParametersConverter the {@link Converter} used for converting
|
||||||
* to a {@code Map} representation of the Access Token Response parameters
|
* to a {@code Map} representation of the Access Token Response parameters
|
||||||
|
* @deprecated Use {@link #setAccessTokenResponseParametersConverter(Converter)}
|
||||||
|
* instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final void setTokenResponseParametersConverter(
|
public final void setTokenResponseParametersConverter(
|
||||||
|
|
|
@ -20,11 +20,11 @@ package org.springframework.security.oauth2.jwt;
|
||||||
* A factory for {@link JwtDecoder}(s). This factory should be supplied with a type that
|
* A factory for {@link JwtDecoder}(s). This factory should be supplied with a type that
|
||||||
* provides contextual information used to create a specific {@code JwtDecoder}.
|
* provides contextual information used to create a specific {@code JwtDecoder}.
|
||||||
*
|
*
|
||||||
|
* @param <C> The type that provides contextual information used to create a specific
|
||||||
|
* {@code JwtDecoder}.
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
* @see JwtDecoder
|
* @see JwtDecoder
|
||||||
* @param <C> The type that provides contextual information used to create a specific
|
|
||||||
* {@code JwtDecoder}.
|
|
||||||
*/
|
*/
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface JwtDecoderFactory<C> {
|
public interface JwtDecoderFactory<C> {
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.springframework.web.client.RestOperations;
|
||||||
* <p>
|
* <p>
|
||||||
* <b>NOTE:</b> This implementation uses the Nimbus JOSE + JWT SDK internally.
|
* <b>NOTE:</b> This implementation uses the Nimbus JOSE + JWT SDK internally.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link NimbusJwtDecoder} or {@link JwtDecoders} instead
|
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @author Josh Cummings
|
* @author Josh Cummings
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
|
@ -49,6 +48,7 @@ import org.springframework.web.client.RestOperations;
|
||||||
* (JWK)</a>
|
* (JWK)</a>
|
||||||
* @see <a target="_blank" href="https://connect2id.com/products/nimbus-jose-jwt">Nimbus
|
* @see <a target="_blank" href="https://connect2id.com/products/nimbus-jose-jwt">Nimbus
|
||||||
* JOSE + JWT SDK</a>
|
* JOSE + JWT SDK</a>
|
||||||
|
* @deprecated Use {@link NimbusJwtDecoder} or {@link JwtDecoders} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final class NimbusJwtDecoderJwkSupport implements JwtDecoder {
|
public final class NimbusJwtDecoderJwkSupport implements JwtDecoder {
|
||||||
|
|
|
@ -21,11 +21,11 @@ package org.springframework.security.oauth2.jwt;
|
||||||
* type that provides contextual information used to create a specific
|
* type that provides contextual information used to create a specific
|
||||||
* {@code ReactiveJwtDecoder}.
|
* {@code ReactiveJwtDecoder}.
|
||||||
*
|
*
|
||||||
|
* @param <C> The type that provides contextual information used to create a specific
|
||||||
|
* {@code ReactiveJwtDecoder}.
|
||||||
* @author Joe Grandja
|
* @author Joe Grandja
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
* @see ReactiveJwtDecoder
|
* @see ReactiveJwtDecoder
|
||||||
* @param <C> The type that provides contextual information used to create a specific
|
|
||||||
* {@code ReactiveJwtDecoder}.
|
|
||||||
*/
|
*/
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface ReactiveJwtDecoderFactory<C> {
|
public interface ReactiveJwtDecoderFactory<C> {
|
||||||
|
|
|
@ -25,7 +25,6 @@ import org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNam
|
||||||
* A {@link ClaimAccessor} for the "claims" that may be contained in the
|
* A {@link ClaimAccessor} for the "claims" that may be contained in the
|
||||||
* Introspection Response.
|
* Introspection Response.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link OAuth2TokenIntrospectionClaimAccessor} instead
|
|
||||||
* @author David Kovac
|
* @author David Kovac
|
||||||
* @since 5.4
|
* @since 5.4
|
||||||
* @see ClaimAccessor
|
* @see ClaimAccessor
|
||||||
|
@ -33,6 +32,7 @@ import org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNam
|
||||||
* @see OAuth2IntrospectionAuthenticatedPrincipal
|
* @see OAuth2IntrospectionAuthenticatedPrincipal
|
||||||
* @see <a target="_blank" href=
|
* @see <a target="_blank" href=
|
||||||
* "https://tools.ietf.org/html/rfc7662#section-2.2">Introspection Response</a>
|
* "https://tools.ietf.org/html/rfc7662#section-2.2">Introspection Response</a>
|
||||||
|
* @deprecated Use {@link OAuth2TokenIntrospectionClaimAccessor} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public interface OAuth2IntrospectionClaimAccessor extends OAuth2TokenIntrospectionClaimAccessor {
|
public interface OAuth2IntrospectionClaimAccessor extends OAuth2TokenIntrospectionClaimAccessor {
|
||||||
|
|
|
@ -23,9 +23,9 @@ import org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimNam
|
||||||
* <a target="_blank" href="https://tools.ietf.org/html/rfc7662#section-2.2">Introspection
|
* <a target="_blank" href="https://tools.ietf.org/html/rfc7662#section-2.2">Introspection
|
||||||
* Response</a>.
|
* Response</a>.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link OAuth2TokenIntrospectionClaimNames} instead
|
|
||||||
* @author Josh Cummings
|
* @author Josh Cummings
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
|
* @deprecated Use {@link OAuth2TokenIntrospectionClaimNames} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public interface OAuth2IntrospectionClaimNames extends OAuth2TokenIntrospectionClaimNames {
|
public interface OAuth2IntrospectionClaimNames extends OAuth2TokenIntrospectionClaimNames {
|
||||||
|
|
|
@ -43,12 +43,12 @@ import org.openid4java.message.ax.FetchResponse;
|
||||||
import org.springframework.util.StringUtils;
|
import org.springframework.util.StringUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @author Ray Krueger
|
||||||
|
* @author Luke Taylor
|
||||||
* @deprecated The OpenID 1.0 and 2.0 protocols have been deprecated and users are
|
* @deprecated The OpenID 1.0 and 2.0 protocols have been deprecated and users are
|
||||||
* <a href="https://openid.net/specs/openid-connect-migration-1_0.html">encouraged to
|
* <a href="https://openid.net/specs/openid-connect-migration-1_0.html">encouraged to
|
||||||
* migrate</a> to <a href="https://openid.net/connect/">OpenID Connect</a>, which is
|
* migrate</a> to <a href="https://openid.net/connect/">OpenID Connect</a>, which is
|
||||||
* supported by <code>spring-security-oauth2</code>.
|
* supported by <code>spring-security-oauth2</code>.
|
||||||
* @author Ray Krueger
|
|
||||||
* @author Luke Taylor
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
|
|
@ -147,6 +147,10 @@ final class OpenSamlSigningUtils {
|
||||||
return credentials;
|
return credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private OpenSamlSigningUtils() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static class QueryParametersPartial {
|
static class QueryParametersPartial {
|
||||||
|
|
||||||
final RelyingPartyRegistration registration;
|
final RelyingPartyRegistration registration;
|
||||||
|
@ -187,8 +191,4 @@ final class OpenSamlSigningUtils {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OpenSamlSigningUtils() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,6 +86,10 @@ final class OpenSamlVerificationUtils {
|
||||||
DefaultSecurityConfigurationBootstrap.buildBasicInlineKeyInfoCredentialResolver());
|
DefaultSecurityConfigurationBootstrap.buildBasicInlineKeyInfoCredentialResolver());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private OpenSamlVerificationUtils() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static class VerifierPartial {
|
static class VerifierPartial {
|
||||||
|
|
||||||
private final String id;
|
private final String id;
|
||||||
|
@ -216,8 +220,4 @@ final class OpenSamlVerificationUtils {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OpenSamlVerificationUtils() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,10 @@ final class OpenSamlVerificationUtils {
|
||||||
return new VerifierPartial(object, registration);
|
return new VerifierPartial(object, registration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private OpenSamlVerificationUtils() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static class VerifierPartial {
|
static class VerifierPartial {
|
||||||
|
|
||||||
private final String id;
|
private final String id;
|
||||||
|
@ -237,8 +241,4 @@ final class OpenSamlVerificationUtils {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OpenSamlVerificationUtils() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,10 @@ final class OpenSamlSigningUtils {
|
||||||
return credentials;
|
return credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private OpenSamlSigningUtils() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static class QueryParametersPartial {
|
static class QueryParametersPartial {
|
||||||
|
|
||||||
final RelyingPartyRegistration registration;
|
final RelyingPartyRegistration registration;
|
||||||
|
@ -167,8 +171,4 @@ final class OpenSamlSigningUtils {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OpenSamlSigningUtils() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,10 @@ final class OpenSamlSigningUtils {
|
||||||
return credentials;
|
return credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private OpenSamlSigningUtils() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static class QueryParametersPartial {
|
static class QueryParametersPartial {
|
||||||
|
|
||||||
final RelyingPartyRegistration registration;
|
final RelyingPartyRegistration registration;
|
||||||
|
@ -167,8 +171,4 @@ final class OpenSamlSigningUtils {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OpenSamlSigningUtils() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,11 +78,11 @@ import org.springframework.web.method.support.ModelAndViewContainer;
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
* @author Rob Winch
|
||||||
|
* @since 3.2
|
||||||
* @deprecated Use
|
* @deprecated Use
|
||||||
* {@link org.springframework.security.web.method.annotation.AuthenticationPrincipalArgumentResolver}
|
* {@link org.springframework.security.web.method.annotation.AuthenticationPrincipalArgumentResolver}
|
||||||
* instead.
|
* instead.
|
||||||
* @author Rob Winch
|
|
||||||
* @since 3.2
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final class AuthenticationPrincipalArgumentResolver implements HandlerMethodArgumentResolver {
|
public final class AuthenticationPrincipalArgumentResolver implements HandlerMethodArgumentResolver {
|
||||||
|
|
|
@ -29,9 +29,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see WebServletJackson2Module
|
* @see WebServletJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonDeserialize(using = CookieDeserializer.class)
|
@JsonDeserialize(using = CookieDeserializer.class)
|
||||||
|
|
|
@ -31,9 +31,9 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see WebJackson2Module
|
* @see WebJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
|
|
@ -34,9 +34,9 @@ import org.springframework.security.web.savedrequest.DefaultSavedRequest;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see WebServletJackson2Module
|
* @see WebServletJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonDeserialize(builder = DefaultSavedRequest.Builder.class)
|
@JsonDeserialize(builder = DefaultSavedRequest.Builder.class)
|
||||||
|
|
|
@ -42,9 +42,9 @@ import org.springframework.security.jackson2.SimpleGrantedAuthorityMixin;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see Webackson2Module
|
* @see Webackson2Module
|
||||||
* @see SecurityJackson2Modules
|
* @see SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
|
|
|
@ -33,9 +33,9 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh.
|
* @author Jitendra Singh.
|
||||||
|
* @since 4.2
|
||||||
* @see WebServletJackson2Module
|
* @see WebServletJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
|
||||||
|
|
|
@ -32,9 +32,9 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Jitendra Singh
|
* @author Jitendra Singh
|
||||||
|
* @since 4.2
|
||||||
* @see WebServletJackson2Module
|
* @see WebServletJackson2Module
|
||||||
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
* @see org.springframework.security.jackson2.SecurityJackson2Modules
|
||||||
* @since 4.2
|
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
|
|
@ -32,8 +32,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author Boris Finkelshteyn
|
* @author Boris Finkelshteyn
|
||||||
* @see WebServerJackson2Module
|
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
|
* @see WebServerJackson2Module
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
|
|
Loading…
Reference in New Issue