public class AuthorizationServerConfigurerAdapter extends Object implements AuthorizationServerConfigurer
| Constructor and Description |
|---|
AuthorizationServerConfigurerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AuthorizationServerEndpointsConfigurer endpoints)
Configure the non-security features of the Authorization Server endpoints, like token store, token
customizations, user approvals and grant types.
|
void |
configure(AuthorizationServerSecurityConfigurer security)
Configure the security of the Authorization Server, which means in practical terms the /oauth/token endpoint.
|
void |
configure(ClientDetailsServiceConfigurer clients)
Configure the
ClientDetailsService, e.g. |
public AuthorizationServerConfigurerAdapter()
public void configure(AuthorizationServerSecurityConfigurer security) throws Exception
AuthorizationServerConfigurerconfigure in interface AuthorizationServerConfigurersecurity - a fluent configurer for security featuresExceptionpublic void configure(ClientDetailsServiceConfigurer clients) throws Exception
AuthorizationServerConfigurerClientDetailsService, 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 AuthorizationServerConfigurerclients - the client details configurerExceptionpublic void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception
AuthorizationServerConfigurerAuthenticationManager.configure in interface AuthorizationServerConfigurerendpoints - the endpoints configurerExceptionCopyright © 2018. All rights reserved.