public static class ZAuth.SimpleCurveAuth extends java.lang.Object implements ZAuth.Auth
Modifier and Type | Field and Description |
---|---|
private boolean |
allowAny |
private ZCertStore |
certStore |
private ZCertStore.Fingerprinter |
fingerprinter |
Constructor and Description |
---|
SimpleCurveAuth() |
SimpleCurveAuth(ZCertStore.Fingerprinter fingerprinter) |
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(ZAuth.ZapRequest request,
boolean verbose)
Callback for authorizing a connection.
|
boolean |
configure(ZMsg configuration,
boolean verbose)
Configures with ad-hoc message.
|
private final ZCertStore.Fingerprinter fingerprinter
private ZCertStore certStore
private boolean allowAny
public SimpleCurveAuth()
public SimpleCurveAuth(ZCertStore.Fingerprinter fingerprinter)
public boolean configure(ZMsg configuration, boolean verbose)
ZAuth.Auth
configure
in interface ZAuth.Auth
configuration
- the configuration message.verbose
- true if the actor is verbose.public boolean authorize(ZAuth.ZapRequest request, boolean verbose)
ZAuth.Auth
authorize
in interface ZAuth.Auth