Example usage for org.springframework.security.oauth2.provider.authentication TokenExtractor interface-usage

List of usage examples for org.springframework.security.oauth2.provider.authentication TokenExtractor interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.provider.authentication TokenExtractor interface-usage.

Usage

From source file org.springframework.security.oauth2.provider.authentication.BearerTokenExtractor.java

/**
 * {@link TokenExtractor} that strips the authenticator from a bearer token request (with an Authorization header in the
 * form "Bearer <code><TOKEN></code>", or as a request parameter if that fails). The access token is the principal in
 * the authentication token that is extracted.
 * 
 * @author Dave Syer