Modifier and Type | Class and Description |
---|---|
static class |
ZAuth.ZAPRequest
A small class for working with ZAP requests and replies.
|
Constructor and Description |
---|
ZAuth(ZContext ctx)
Install authentication for the specified context.
|
Modifier and Type | Method and Description |
---|---|
void |
allow(String address)
Allow (whitelist) a single IP address.
|
protected boolean |
authenticateGSS(ZAuth.ZAPRequest request) |
void |
configureGSSAPI(String domain) |
void |
configurePlain(String domain,
String filename)
Configure PLAIN authentication for a given domain.
|
void |
deny(String address)
Deny (blacklist) a single IP address.
|
void |
destroy()
Destructor.
|
void |
setVerbose(boolean verbose)
Enable verbose tracing of commands and activity
|
public ZAuth(ZContext ctx)
public void setVerbose(boolean verbose)
verbose
- public void allow(String address)
public void deny(String address)
public void configurePlain(String domain, String filename)
domain
- filename
- public void destroy()
public void configureGSSAPI(String domain)
protected boolean authenticateGSS(ZAuth.ZAPRequest request)