public class InsufficientPrivilegesException extends PalioSecurityException
BAD_LOGIN, BAD_PASSWORD, DEDICATED_RECONNECT
Constructor and Description |
---|
InsufficientPrivilegesException(java.lang.Long userId,
java.util.Collection<java.lang.String> requiredPrivileges)
|
InsufficientPrivilegesException(java.lang.Long userId,
java.util.Collection<java.lang.String> requiredPrivileges,
java.lang.Long regionId)
Full constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getRegionId() |
java.util.Collection<java.lang.String> |
getRequiredPrivileges() |
java.lang.Long |
getUserId() |
createTransportableException, createTransportableException, getCode, getCore, getException, getExtension, getLocalizedMessage, getLogger, getMessage, getStackTrace, printStackTrace, printStackTrace, putException, putException, putException, putException, setCode, setLogger, setMessage, setMessage, setStackTrace, toString
public InsufficientPrivilegesException(java.lang.Long userId, java.util.Collection<java.lang.String> requiredPrivileges, java.lang.Long regionId)
userId
- jPALIO user id for whom privileges has been checkedrequiredPrivileges
- Collection of jPALIO privileges codes that are requiredregionId
- jPALIO region id for which privileges has been checkedpublic InsufficientPrivilegesException(java.lang.Long userId, java.util.Collection<java.lang.String> requiredPrivileges)