org.springframework.security.oauth.consumer
Class InMemoryProtectedResourceDetailsService
java.lang.Object
org.springframework.security.oauth.consumer.InMemoryProtectedResourceDetailsService
- All Implemented Interfaces:
- ProtectedResourceDetailsService
public class InMemoryProtectedResourceDetailsService
- extends Object
- implements ProtectedResourceDetailsService
Basic, in-memory implementation of a protected resource details service.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryProtectedResourceDetailsService
public InMemoryProtectedResourceDetailsService()
loadProtectedResourceDetailsById
public ProtectedResourceDetails loadProtectedResourceDetailsById(String id)
throws IllegalArgumentException
- Description copied from interface:
ProtectedResourceDetailsService
- Load the details of a protected resource by id.
- Specified by:
loadProtectedResourceDetailsById in interface ProtectedResourceDetailsService
- Parameters:
id - The id.
- Returns:
- The protected resource details.
- Throws:
IllegalArgumentException - If there are no details available for the given id.
getResourceDetailsStore
public Map<String,? extends ProtectedResourceDetails> getResourceDetailsStore()
setResourceDetailsStore
public void setResourceDetailsStore(Map<String,? extends ProtectedResourceDetails> resourceDetailsStore)
Copyright © 2013. All rights reserved.