org.springframework.security.oauth2.provider
Interface ClientDetailsService

All Known Implementing Classes:
InMemoryClientDetailsService, JdbcClientDetailsService

public interface ClientDetailsService

A service that provides the details about an oauth 2client.

Author:
Ryan Heaton

Method Summary
 ClientDetails loadClientByClientId(String clientId)
          Load a client by the client id.
 

Method Detail

loadClientByClientId

ClientDetails loadClientByClientId(String clientId)
                                   throws OAuth2Exception
Load a client by the client id. This method must NOT return null.

Parameters:
clientId - The client id.
Returns:
The client details.
Throws:
OAuth2Exception - If the client account is locked, expired, disabled, or for any other reason.


Copyright © 2012. All Rights Reserved.