Class AbstractAuthenticationEventAuditor

    • Constructor Detail

    • Method Detail

      • getUserId

        protected String getUserId​(String principalName,
                                   String realm)
        Get the universal user ID.
        Parameters:
        principalName - The principal name.
        realm - The realm.
        Returns:
        The universal user ID or an empty string if it could not be found.
      • getTrackingIds

        protected Set<String> getTrackingIds​(LoginState loginState)
        Get the tracking ID from the login state of the event.
        Parameters:
        loginState - The login state of the event.
        Returns:
        The tracking ID or an empty string if it could not be found.
      • getRealmFromState

        protected String getRealmFromState​(LoginState loginState)
        Get the realm from the login state of the event.
        Parameters:
        loginState - The login state of the event.
        Returns:
        The realm or null if it could not be found.
      • getRealmFromToken

        protected String getRealmFromToken​(SSOToken token)
        Get the realm from the of the event.
        Parameters:
        token - The of the event.
        Returns:
        The realm or null if it could not be found.
      • getFailedPrincipal

        protected String getFailedPrincipal​(LoginState loginState)
        Get the failed username from the of the event.
        Parameters:
        loginState - The login state of the event.
        Returns:
        The username or null if it could not be found.