@Deprecated public class AuthorizationServerConfigurerAdapter extends Object implements AuthorizationServerConfigurer
Constructor and Description |
---|
AuthorizationServerConfigurerAdapter()
Deprecated.
|
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. |
public AuthorizationServerConfigurerAdapter()
public void configure(AuthorizationServerSecurityConfigurer security) throws Exception
AuthorizationServerConfigurer
configure
in interface AuthorizationServerConfigurer
security
- a fluent configurer for security featuresException
public void configure(ClientDetailsServiceConfigurer clients) throws Exception
AuthorizationServerConfigurer
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 AuthorizationServerConfigurer.configure(AuthorizationServerEndpointsConfigurer)
. At least one client, or a fully
formed custom ClientDetailsService
must be declared or the server will not start.configure
in interface AuthorizationServerConfigurer
clients
- the client details configurerException
public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception
AuthorizationServerConfigurer
AuthenticationManager
.configure
in interface AuthorizationServerConfigurer
endpoints
- the endpoints configurerException
Copyright © 2019. All rights reserved.