@Configuration @Import(value=AuthorizationServerEndpointsConfiguration.TokenKeyEndpointRegistrar.class) public class AuthorizationServerEndpointsConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AuthorizationServerEndpointsConfiguration.TokenKeyEndpointRegistrar |
| Modifier and Type | Field and Description |
|---|---|
static String |
TOKEN_STORE_BEAN_NAME
The static bean name for a TokenStore if any.
|
| Constructor and Description |
|---|
AuthorizationServerEndpointsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationEndpoint |
authorizationEndpoint() |
CheckTokenEndpoint |
checkTokenEndpoint() |
ConsumerTokenServices |
consumerTokenServices() |
void |
init() |
FrameworkEndpointHandlerMapping |
oauth2EndpointHandlerMapping() |
TokenEndpoint |
tokenEndpoint() |
TokenStore |
tokenStore() |
WhitelabelApprovalEndpoint |
whitelabelApprovalEndpoint() |
WhitelabelErrorEndpoint |
whitelabelErrorEndpoint() |
public static final String TOKEN_STORE_BEAN_NAME
#APPROVAL_STORE_BEAN_NAME, then Spring will create an InMemoryTokenStore.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 ConsumerTokenServices consumerTokenServices() throws Exception
Exception@Bean public TokenStore tokenStore() throws Exception
ExceptionCopyright © 2014. All rights reserved.