public class ClientSecretHashVerifier extends Object implements ClientSecretVerifier
Constructor and Description |
---|
ClientSecretHashVerifier() |
Modifier and Type | Method and Description |
---|---|
void |
setHashAlgorithm(String hashAlgorithm) |
boolean |
validateClientSecret(Client client,
String clientSecret)
Validate a client secret
|
public boolean validateClientSecret(Client client, String clientSecret)
ClientSecretVerifier
validateClientSecret
in interface ClientSecretVerifier
client
- the Client
the ClientclientSecret
- the secretpublic void setHashAlgorithm(String hashAlgorithm)
Apache CXF