@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value={AuthorizationServerEndpointsConfiguration.class,AuthorizationServerSecurityConfiguration.class}) @Deprecated public @interface EnableAuthorizationServer
AuthorizationEndpoint and a
TokenEndpoint) in the current application context, which must be a DispatcherServlet context. Many
features of the server can be customized using @Beans of type AuthorizationServerConfigurer
(e.g. by extending AuthorizationServerConfigurerAdapter). The user is responsible for securing the
Authorization Endpoint (/oauth/authorize) using normal Spring Security features (@EnableWebSecurity etc.), but the Token Endpoint (/oauth/token) will be automatically secured using HTTP Basic
authentication on the client's credentials. Clients must be registered by providing a
ClientDetailsService through one or more AuthorizationServerConfigurers.
Copyright © 2020. All rights reserved.