@Deprecated public class CoreOAuthSignatureMethodFactory extends Object implements OAuthSignatureMethodFactory
| Constructor and Description |
|---|
CoreOAuthSignatureMethodFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.encoding.PasswordEncoder |
getPlainTextPasswordEncoder()
Deprecated.
The password encoder to use for the plain-text password signature method.
|
OAuthSignatureMethod |
getSignatureMethod(String methodName,
SignatureSecret signatureSecret,
String tokenSecret)
Deprecated.
Get the signature method of the given name.
|
boolean |
isSupportHMAC_SHA1()
Deprecated.
Whether to support HMAC-SHA1 signature method.
|
boolean |
isSupportPlainText()
Deprecated.
Whether to support the plain text signature method.
|
boolean |
isSupportRSA_SHA1()
Deprecated.
Whether to support RSA-SHA1 signature method.
|
void |
setPlainTextPasswordEncoder(org.springframework.security.authentication.encoding.PasswordEncoder plainTextPasswordEncoder)
Deprecated.
The password encoder to use for the plain-text password signature method.
|
void |
setSupportHMAC_SHA1(boolean supportHMAC_SHA1)
Deprecated.
Whether to support HMAC-SHA1 signature method.
|
void |
setSupportPlainText(boolean supportPlainText)
Deprecated.
Whether to support the plain text signature method.
|
void |
setSupportRSA_SHA1(boolean supportRSA_SHA1)
Deprecated.
Whether to support RSA-SHA1 signature method.
|
public CoreOAuthSignatureMethodFactory()
public OAuthSignatureMethod getSignatureMethod(String methodName, SignatureSecret signatureSecret, String tokenSecret) throws UnsupportedSignatureMethodException
OAuthSignatureMethodFactorygetSignatureMethod in interface OAuthSignatureMethodFactorymethodName - The method name.signatureSecret - The signature secret.tokenSecret - The token secret.UnsupportedSignatureMethodException - If the specified signature method name isn't recognized or supported.public boolean isSupportPlainText()
public void setSupportPlainText(boolean supportPlainText)
supportPlainText - Whether to support the plain text signature method.public boolean isSupportHMAC_SHA1()
public void setSupportHMAC_SHA1(boolean supportHMAC_SHA1)
supportHMAC_SHA1 - Whether to support HMAC-SHA1 signature method.public boolean isSupportRSA_SHA1()
public void setSupportRSA_SHA1(boolean supportRSA_SHA1)
supportRSA_SHA1 - Whether to support RSA-SHA1 signature method.public org.springframework.security.authentication.encoding.PasswordEncoder getPlainTextPasswordEncoder()
public void setPlainTextPasswordEncoder(org.springframework.security.authentication.encoding.PasswordEncoder plainTextPasswordEncoder)
plainTextPasswordEncoder - The password encoder to use for the plain-text password signature method.Copyright © 2020. All rights reserved.