Uses of Class
com.spotfire.server.api.userdir.InvalidArgumentException
Packages that use InvalidArgumentException
Package
Description
Package containing API for modifying users and groups in the server.
-
Uses of InvalidArgumentException in com.spotfire.server.api.userdir
Subclasses of InvalidArgumentException in com.spotfire.server.api.userdirModifier and TypeClassDescriptionclassThrown when an attempt is made to perform an invalid operation (for example adding principals to an immutable group or modifying a fixed principal).classThrown when an invalid password is given.classThrown when an operation has been requested on a principal that does not exist in the user directory.classThrown when an attempt has been made to name a principal with a name that already exists on another principal in the same domain in the user directory.Methods in com.spotfire.server.api.userdir that throw InvalidArgumentExceptionModifier and TypeMethodDescriptionabstract GroupPrincipalUserDirectory.createGroup(String name, String displayName, String emailAddress) Creates a new group in theSPOTFIREdomain.abstract UserPrincipalUserDirectory.createUser(String name, String domainName, String displayName, String emailAddress, String password) Creates a new user.abstract UserPrincipalUserDirectory.lock(UserPrincipal user, long time, TimeUnit unit) Locks the given user for a specified amount of time.abstract <T extends SpotfirePrincipal>
TUserDirectory.setDisplayName(T principal, String displayName) Sets the display name for the given principal (user or group).abstract <T extends SpotfirePrincipal>
TUserDirectory.setEmailAddress(T principal, String emailAddress) Sets the e-mail address for the given principal (user or group).abstract <T extends SpotfirePrincipal>
TSets the name for the given principal (user or group).