@Deprecated public interface AuthorizationServerConfigurer
@EnableAuthorizationServer
.
Modifier and Type | Method and Description |
---|---|
void |
configure(AuthorizationServerEndpointsConfigurer endpoints)
Deprecated.
Configure the non-security features of the Authorization Server endpoints, like token store, token
customizations, user approvals and grant types.
|
void |
configure(AuthorizationServerSecurityConfigurer security)
Deprecated.
Configure the security of the Authorization Server, which means in practical terms the /oauth/token endpoint.
|
void |
configure(ClientDetailsServiceConfigurer clients)
Deprecated.
Configure the
ClientDetailsService , e.g. declaring individual clients and their properties. |
void configure(AuthorizationServerSecurityConfigurer security) throws Exception
security
- a fluent configurer for security featuresException
void configure(ClientDetailsServiceConfigurer clients) throws Exception
ClientDetailsService
, e.g. declaring individual clients and their properties. Note that
password grant is not enabled (even if some clients are allowed it) unless an AuthenticationManager
is
supplied to the configure(AuthorizationServerEndpointsConfigurer)
. At least one client, or a fully
formed custom ClientDetailsService
must be declared or the server will not start.clients
- the client details configurerException
void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception
AuthenticationManager
.endpoints
- the endpoints configurerException
Copyright © 2019. All rights reserved.