public class AuthenticationMetrics extends Object
| Constructor and Description |
|---|
AuthenticationMetrics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
authenticateFailure(String providerName,
String authMethod,
String reason)
Log authenticate failure event to the authentication metrics.
|
static void |
authenticateSuccess(String providerName,
String authMethod)
Log authenticate success event to the authentication metrics.
|
public static void authenticateSuccess(String providerName, String authMethod)
providerName - The short class name of the providerauthMethod - Authentication method namepublic static void authenticateFailure(String providerName, String authMethod, String reason)
providerName - The short class name of the providerauthMethod - Authentication method name.reason - Failure reason.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.