public abstract static class Authorizer.Result extends 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(String reason) |
static Authorizer.Result |
grant() |
static Authorizer.Result |
ignore() |
boolean |
isDenied() |
boolean |
isGranted() |
String |
toString() |
public static Authorizer.Result deny(String reason)
reason
- the reason for which the authorization is deniedpublic static Authorizer.Result grant()
public static Authorizer.Result ignore()
Authorizer
s.public boolean isDenied()
public boolean isGranted()
Copyright © 2008–2024 The CometD Project. All rights reserved.