Class AuthenticationEvent

java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuthenticationEvent

@Entity public class AuthenticationEvent extends Model
Records successful authentication attempts. Only interactive logins are recorded. Direct clients (API key, basic auth) are excluded, and external providers only report their successful logins.
  • Constructor Details

    • AuthenticationEvent

      public AuthenticationEvent()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

      public void setId(Long id)
      Specified by:
      setId in class Model
    • getUser

      public User getUser()
    • setUser

      public void setUser(User user)
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • getStatus

      public AuthenticationStatus getStatus()
    • setStatus

      public void setStatus(AuthenticationStatus status)
    • getIpAddress

      public String getIpAddress()
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • getDetails

      public String getDetails()
    • setDetails

      public void setDetails(String details)
    • getCreatedOn

      public LocalDateTime getCreatedOn()
    • setCreatedOn

      public void setCreatedOn(LocalDateTime createdOn)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object