public class MockClientDetailsService extends Object implements OpenConextClientDetailsService
| Constructor and Description |
|---|
MockClientDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
ARP |
getArp(String spEntityId) |
org.springframework.security.oauth2.provider.ClientDetails |
loadClientByClientId(String clientId) |
org.springframework.security.oauth.provider.ConsumerDetails |
loadConsumerByConsumerKey(String consumerKey) |
static ClientMetaData |
mockMetadata(String entityId) |
void |
setDefaultSecret(String defaultSecret) |
public org.springframework.security.oauth2.provider.ClientDetails loadClientByClientId(String clientId) throws org.springframework.security.oauth2.common.exceptions.OAuth2Exception
loadClientByClientId in interface org.springframework.security.oauth2.provider.ClientDetailsServiceorg.springframework.security.oauth2.common.exceptions.OAuth2Exceptionpublic org.springframework.security.oauth.provider.ConsumerDetails loadConsumerByConsumerKey(String consumerKey) throws org.springframework.security.oauth.common.OAuthException
loadConsumerByConsumerKey in interface org.springframework.security.oauth.provider.ConsumerDetailsServiceorg.springframework.security.oauth.common.OAuthExceptionpublic static ClientMetaData mockMetadata(String entityId)
public void setDefaultSecret(String defaultSecret)
public ARP getArp(String spEntityId)
getArp in interface OpenConextClientDetailsServiceCopyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.