org.springframework.security.oauth.common.signature
Interface OAuthSignatureMethodFactory

All Known Implementing Classes:
CoreOAuthSignatureMethodFactory

public interface OAuthSignatureMethodFactory

Factory for signature methods.

Author:
Ryan Heaton

Method Summary
 OAuthSignatureMethod getSignatureMethod(String methodName, SignatureSecret signatureSecret, String tokenSecret)
          Get the signature method of the given name.
 

Method Detail

getSignatureMethod

OAuthSignatureMethod getSignatureMethod(String methodName,
                                        SignatureSecret signatureSecret,
                                        String tokenSecret)
                                        throws UnsupportedSignatureMethodException
Get the signature method of the given name.

Parameters:
methodName - The method name.
signatureSecret - The signature secret.
tokenSecret - The token secret.
Returns:
the signature method.
Throws:
UnsupportedSignatureMethodException - If the specified signature method name isn't recognized or supported.


Copyright © 2012. All Rights Reserved.