org.springframework.security.oauth2.provider
Class InMemoryClientDetailsService
java.lang.Object
org.springframework.security.oauth2.provider.InMemoryClientDetailsService
- All Implemented Interfaces:
- ClientDetailsService
public class InMemoryClientDetailsService
- extends Object
- implements ClientDetailsService
Basic, in-memory implementation of the client details service.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryClientDetailsService
public InMemoryClientDetailsService()
loadClientByClientId
public ClientDetails loadClientByClientId(String clientId)
throws OAuth2Exception
- Description copied from interface:
ClientDetailsService
- Load a client by the client id. This method must not return null.
- Specified by:
loadClientByClientId in interface ClientDetailsService
- Parameters:
clientId - The client id.
- Returns:
- The client details.
- Throws:
OAuth2Exception
setClientDetailsStore
public void setClientDetailsStore(Map<String,? extends ClientDetails> clientDetailsStore)
Copyright © 2013. All rights reserved.