org.springframework.security.oauth.provider
Interface ExtraTrustConsumerDetails

All Superinterfaces:
ConsumerDetails, Serializable
All Known Implementing Classes:
BaseConsumerDetails, SparklrConsumerDetails

public interface ExtraTrustConsumerDetails
extends ConsumerDetails

Consumer details for a specific resource.

Author:
Ryan Heaton

Method Summary
 boolean isRequiredToObtainAuthenticatedToken()
          Whether this consumer is required to obtain an authenticated oauth token.
 
Methods inherited from interface org.springframework.security.oauth.provider.ConsumerDetails
getAuthorities, getConsumerKey, getConsumerName, getSignatureSecret
 

Method Detail

isRequiredToObtainAuthenticatedToken

boolean isRequiredToObtainAuthenticatedToken()
Whether this consumer is required to obtain an authenticated oauth token. If true, it means that the OAuth consumer won't be granted access to the protected resource unless the user is directed to the token authorization page. If false, it means that the provider has an additional level of trust with the consumer.

Not requiring an authenticated access token is also known as "2-legged" OAuth or "signed fetch".

Returns:
Whether this consumer is required to obtain an authenticated oauth token.


Copyright © 2012. All Rights Reserved.