Class AuthenticationSubject


  • public class AuthenticationSubject
    extends java.lang.Object
    DTO containing information about a user being authenticated. In case of first factor it is identity of unknown type. In case of 2nd factor it is a concrete entity.
    • Field Detail

      • identity

        public final java.lang.String identity
      • entityId

        public final java.lang.Long entityId
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object