public abstract static class Authorizer.Result
extends java.lang.Object
The result of an authentication request.
| Modifier and Type | Class and Description |
|---|---|
static class |
Authorizer.Result.Denied |
static class |
Authorizer.Result.Granted |
static class |
Authorizer.Result.Ignored |
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
static Authorizer.Result |
deny(java.lang.String reason) |
static Authorizer.Result |
grant() |
static Authorizer.Result |
ignore() |
boolean |
isDenied() |
boolean |
isGranted() |
java.lang.String |
toString() |
public static Authorizer.Result deny(java.lang.String reason)
reason - the reason for which the authorization is deniedpublic static Authorizer.Result grant()
public static Authorizer.Result ignore()
Authorizers.public boolean isDenied()
public boolean isGranted()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2019 The CometD Project. All rights reserved.