|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
palio.PalioException
palio.security.PalioSecurityException
palio.security.InsufficientPrivilegesException
public class InsufficientPrivilegesException
Should be thrown when current user has insufficient privileges to execute any secure operation.
Field Summary |
---|
Fields inherited from class palio.PalioException |
---|
BAD_PASSWORD, DEDICATED_RECONNECT |
Constructor Summary | |
---|---|
InsufficientPrivilegesException(java.lang.Long userId,
java.util.Collection<java.lang.String> requiredPrivileges)
InsufficientPrivilegesException(Long, Collection, Long) |
|
InsufficientPrivilegesException(java.lang.Long userId,
java.util.Collection<java.lang.String> requiredPrivileges,
java.lang.Long regionId)
Full constructor |
Method Summary | |
---|---|
java.lang.Long |
getRegionId()
|
java.util.Collection<java.lang.String> |
getRequiredPrivileges()
|
java.lang.Long |
getUserId()
|
Methods inherited from class palio.PalioException |
---|
createTransportableException, createTransportableException, getCode, getCore, getException, getExtension, getLocalizedMessage, getLogger, getMessage, getStackTrace, printStackTrace, printStackTrace, putException, putException, putException, putException, setCode, setLogger, setMessage, setMessage, setStackTrace, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, initCause, printStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)
InsufficientPrivilegesException(Long, Collection, Long)
Method Detail |
---|
public java.lang.Long getUserId()
public java.lang.Long getRegionId()
public java.util.Collection<java.lang.String> getRequiredPrivileges()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |