Example usage for org.springframework.security.oauth.provider OAuthAuthenticationDetails OAuthAuthenticationDetails

List of usage examples for org.springframework.security.oauth.provider OAuthAuthenticationDetails OAuthAuthenticationDetails

Introduction

In this page you can find the example usage for org.springframework.security.oauth.provider OAuthAuthenticationDetails OAuthAuthenticationDetails.

Prototype

public OAuthAuthenticationDetails(HttpServletRequest request, ConsumerDetails consumerDetails) 

Source Link

Usage

From source file:org.springframework.security.oauth.provider.filter.OAuthProviderProcessingFilter.java

/**
 * Create the details for the authentication request.
 *
 * @param request The request.//from  ww  w  .j a  v  a  2s .  com
 * @param consumerDetails The consumer details.
 * @return The authentication details.
 */
protected Object createDetails(HttpServletRequest request, ConsumerDetails consumerDetails) {
    return new OAuthAuthenticationDetails(request, consumerDetails);
}