Class UserPrincipal

java.lang.Object
com.spotfire.server.api.userdir.SpotfirePrincipal
com.spotfire.server.api.userdir.UserPrincipal
All Implemented Interfaces:
Principal

public class UserPrincipal extends SpotfirePrincipal
Represents a user principal.
Since:
10.1
  • Method Details

    • isEnabled

      public final boolean isEnabled()
      Indicates whether or not this user is enabled (may log in).
      Returns:
      true if this user is enabled, and false otherwise
      Since:
      10.1
    • isLocked

      public final boolean isLocked()
      Indicates whether or not this user is locked (temporarily prevented from logging in).
      Returns:
      true if this user is locked, and false otherwise
      Since:
      10.1
    • toString

      public String toString()
      Specified by:
      toString in interface Principal
      Overrides:
      toString in class Object