Modifier and Type | Field and Description |
---|---|
static java.util.function.Supplier<Firewall> |
SUPPLIER
AllowAll supplier.
|
Constructor and Description |
---|
AllowAll() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(java.lang.String creds)
Authenticates peer using specified credentials.
|
boolean |
permit(AgentID aid)
Checks whether a message intended for the specified agent/topic may be sent
over this connection.
|
boolean |
permit(JsonMessage rq)
Checks whether a JSON message can be accepted over this connection.
|
void |
signoff()
Called when the connection is closed.
|
public static final java.util.function.Supplier<Firewall> SUPPLIER
public boolean authenticate(java.lang.String creds)
Firewall
authenticate
in interface Firewall
creds
- credentials, or null if logging out.public boolean permit(JsonMessage rq)
Firewall
public boolean permit(AgentID aid)
Firewall