org.springframework.security.oauth2.provider.password
Class ResourceOwnerPasswordTokenGranter

java.lang.Object
  extended by org.springframework.security.oauth2.provider.token.AbstractTokenGranter
      extended by org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter
All Implemented Interfaces:
TokenGranter

public class ResourceOwnerPasswordTokenGranter
extends AbstractTokenGranter

Author:
Dave Syer

Field Summary
 
Fields inherited from class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
logger
 
Constructor Summary
ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager, AuthorizationServerTokenServices tokenServices, ClientDetailsService clientDetailsService, OAuth2RequestFactory requestFactory)
           
 
Method Summary
protected  OAuth2Authentication getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
           
 
Methods inherited from class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
getAccessToken, getRequestFactory, getTokenServices, grant, validateGrantType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceOwnerPasswordTokenGranter

public ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
                                         AuthorizationServerTokenServices tokenServices,
                                         ClientDetailsService clientDetailsService,
                                         OAuth2RequestFactory requestFactory)
Method Detail

getOAuth2Authentication

protected OAuth2Authentication getOAuth2Authentication(ClientDetails client,
                                                       TokenRequest tokenRequest)
Overrides:
getOAuth2Authentication in class AbstractTokenGranter


Copyright © 2013. All rights reserved.