Example usage for org.springframework.security.oauth2.config.annotation.web.configuration ResourceServerConfigurerAdapter subclass-usage

List of usage examples for org.springframework.security.oauth2.config.annotation.web.configuration ResourceServerConfigurerAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.config.annotation.web.configuration ResourceServerConfigurerAdapter subclass-usage.

Usage

From source file de.pksoftware.springstrap.core.config.ResourceServerConfigBase.java

@Configuration
@EnableResourceServer
public abstract class ResourceServerConfigBase extends ResourceServerConfigurerAdapter {

    /*
     * 

From source file com.netflix.genie.web.security.oauth2.OAuth2Config.java

/**
 * Security Configuration for OAuth2.
 * <p>
 * https://youtu.be/MLfL1NpwUC4?t=1h7m55s
 * <p>
 * When enabled by default is given Order(3) which comes from within EnableResourceServer.

From source file org.openbaton.nfvo.security.authentication.ResourceServer.java

@Configuration
@EnableResourceServer
@ConfigurationProperties
public class ResourceServer extends ResourceServerConfigurerAdapter {

    @Value("market.security.enabled:true")

From source file com.example.ResourceConfig.java

@Configuration
public class ResourceConfig extends ResourceServerConfigurerAdapter {

    public static final String RESOURCE_ID = "oauth2-resource-test";

    private final ResourceServerTokenServices tokenServices;

From source file org.meruvian.yama.webapi.config.oauth.ResourceServerConfig.java

/**
 * @author Dian Aditya
 *
 */
@Configuration
@EnableResourceServer

From source file some.test.config.OAuthConfiguration.java

/**
 * Configures the Resource-Server. We want the resources under '/secure/**' secured by OAuth2 and the needed scope is
 * 'testscope'.
 *
 * @author  jbellmann
 */

From source file io.gravitee.management.security.config.oauth2.OAuth2SecurityConfigurerAdapter.java

/**
 * 
 * @author Titouan COMPIEGNE
 *
 */
@Configuration

From source file org.moserp.infrastructure.gateway.config.OAuthConfiguration.java

/**
 * The Class OAuthConfiguration that sets up the OAuth2 single sign on
 * configuration and the web security associated with it.
 */
@Configuration
@EnableResourceServer

From source file org.appverse.web.framework.backend.security.oauth2.resourceserver.configuration.ResourceServerStoreConfigurerAdapter.java

/**
 * Convenient setup for an OAuth2 Resource Server that uses a
 * JdbcTokenStore to keep the tokens. This way you only need to override
 * configure method if you want to change default HttpSecurity (by default requiring 
 * authentication for any request)
 * 

From source file com.orange.clara.cloud.services.sandbox.config.SecurityConfiguration.java

@EnableWebSecurity(debug = false)
@EnableResourceServer
public class SecurityConfiguration extends ResourceServerConfigurerAdapter {
    private static final Logger LOGGER = LoggerFactory.getLogger(SecurityConfiguration.class);

    @Value("${security.oauth2.admin.scope}")