Package com.spotfire.server.api.userdir
Class UserPrincipal
java.lang.Object
com.spotfire.server.api.userdir.SpotfirePrincipal
com.spotfire.server.api.userdir.UserPrincipal
- All Implemented Interfaces:
Principal
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, andfalse
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, andfalse
otherwise- Since:
- 10.1
-
toString
-