public class AllowAfterAuth extends AbstractFirewall
This is primarily useful for testing.
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Supplier<Firewall> |
SUPPLIER
AllowAfterAuth supplier.
|
auth, log| Constructor and Description |
|---|
AllowAfterAuth() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String creds)
Authenticates peer using specified credentials.
|
void |
signoff()
Called when the connection is closed.
|
permit, permitpublic static final java.util.function.Supplier<Firewall> SUPPLIER
public boolean authenticate(java.lang.String creds)
Firewallcreds - credentials, or null if logging out.public void signoff()
FirewallFirewall instance should perform cleanup.