Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.lang.IgniteException
org.gridgain.internal.rbac.privileges.exception.AuthorizationException
- All Implemented Interfaces:
Serializable,org.apache.ignite.lang.TraceableException
public class AuthorizationException
extends org.apache.ignite.lang.IgniteException
Exception is thrown when user does not have privilege to perform some action.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationException(Set<Privilege> wantedPrivileges, Set<String> roles) Constructor.AuthorizationException(UUID traceId, int code, String message, @Nullable Throwable cause) -
Method Summary
Methods inherited from class org.apache.ignite.lang.IgniteException
code, codeAsString, errorCode, groupCode, groupName, toString, traceIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AuthorizationException
Constructor.- Parameters:
roles- roles that do not have privilege.
-
AuthorizationException
-