@Configuration @Import(value=AuthorizationServerEndpointsConfiguration.TokenKeyEndpointRegistrar.class) @Deprecated public class AuthorizationServerEndpointsConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AuthorizationServerEndpointsConfiguration.AuthorizationServerTokenServicesFactoryBean
Deprecated.
|
protected static class |
AuthorizationServerEndpointsConfiguration.TokenKeyEndpointRegistrar
Deprecated.
|
| Constructor and Description |
|---|
AuthorizationServerEndpointsConfiguration()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorizationEndpoint |
authorizationEndpoint()
Deprecated.
|
CheckTokenEndpoint |
checkTokenEndpoint()
Deprecated.
|
org.springframework.beans.factory.FactoryBean<ConsumerTokenServices> |
consumerTokenServices()
Deprecated.
|
org.springframework.beans.factory.FactoryBean<AuthorizationServerTokenServices> |
defaultAuthorizationServerTokenServices()
Deprecated.
This needs to be a
@Bean so that it can be
@Transactional (in case the token store supports them). |
AuthorizationServerEndpointsConfigurer |
getEndpointsConfigurer()
Deprecated.
|
void |
init()
Deprecated.
|
FrameworkEndpointHandlerMapping |
oauth2EndpointHandlerMapping()
Deprecated.
|
TokenEndpoint |
tokenEndpoint()
Deprecated.
|
WhitelabelApprovalEndpoint |
whitelabelApprovalEndpoint()
Deprecated.
|
WhitelabelErrorEndpoint |
whitelabelErrorEndpoint()
Deprecated.
|
public AuthorizationServerEndpointsConfiguration()
@PostConstruct public void init()
@Bean public AuthorizationEndpoint authorizationEndpoint() throws Exception
Exception@Bean public TokenEndpoint tokenEndpoint() throws Exception
Exception@Bean public CheckTokenEndpoint checkTokenEndpoint()
@Bean public WhitelabelApprovalEndpoint whitelabelApprovalEndpoint()
@Bean public WhitelabelErrorEndpoint whitelabelErrorEndpoint()
@Bean public FrameworkEndpointHandlerMapping oauth2EndpointHandlerMapping() throws Exception
Exception@Bean public org.springframework.beans.factory.FactoryBean<ConsumerTokenServices> consumerTokenServices() throws Exception
Exception@Bean public org.springframework.beans.factory.FactoryBean<AuthorizationServerTokenServices> defaultAuthorizationServerTokenServices()
@Bean so that it can be
@Transactional (in case the token store supports them). If
you are overriding the token services in an
AuthorizationServerConfigurer consider making it a
@Bean for the same reason (assuming you need transactions,
e.g. for a JDBC token store).public AuthorizationServerEndpointsConfigurer getEndpointsConfigurer()
Copyright © 2020. All rights reserved.