Class LoginAttribute

    • Method Detail

      • user

        public final String user()

        Indicates the user name which attempted to log in.

        Returns:
        Indicates the user name which attempted to log in.
      • application

        public final String application()

        Indicates the application name used to attempt log in.

        Returns:
        Indicates the application name used to attempt log in.
      • failedLoginAttempts

        public final Integer failedLoginAttempts()

        Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.

        Returns:
        Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
      • successfulLoginAttempts

        public final Integer successfulLoginAttempts()

        Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.

        Returns:
        Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)