Class AuthenticationMetrics


  • public class AuthenticationMetrics
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void authenticateFailure​(java.lang.String providerName, java.lang.String authMethod, java.lang.String reason)
      Log authenticate failure event to the authentication metrics.
      static void authenticateSuccess​(java.lang.String providerName, java.lang.String authMethod)
      Log authenticate success event to the authentication metrics.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticationMetrics

        public AuthenticationMetrics()
    • Method Detail

      • authenticateSuccess

        public static void authenticateSuccess​(java.lang.String providerName,
                                               java.lang.String authMethod)
        Log authenticate success event to the authentication metrics.
        Parameters:
        providerName - The short class name of the provider
        authMethod - Authentication method name
      • authenticateFailure

        public static void authenticateFailure​(java.lang.String providerName,
                                               java.lang.String authMethod,
                                               java.lang.String reason)
        Log authenticate failure event to the authentication metrics.
        Parameters:
        providerName - The short class name of the provider
        authMethod - Authentication method name.
        reason - Failure reason.