@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.
|
FactoryBean<ConsumerTokenServices> |
consumerTokenServices()
Deprecated.
|
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 FactoryBean<ConsumerTokenServices> consumerTokenServices() throws Exception
Exception
@Bean public 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 © 2019. All rights reserved.