Example usage for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerEndpointsConfigurer tokenServices

List of usage examples for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerEndpointsConfigurer tokenServices

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerEndpointsConfigurer tokenServices.

Prototype

AuthorizationServerTokenServices tokenServices

To view the source code for org.springframework.security.oauth2.config.annotation.web.configurers AuthorizationServerEndpointsConfigurer tokenServices.

Click Source Link

Usage

From source file:de.pksoftware.springstrap.core.config.AuthServerConfigBase.java

/**
 * Configure the OAuth2 Authorization Server Endpoints.
 *//*w  w  w. j av a2 s . co  m*/
@Override
public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
    //Configure endpoints
    endpoints.tokenServices(authorizationServerTokenServicesBean())
            .authenticationManager(authenticationManager);
}