Class ZAuth.SimpleCurveAuth
java.lang.Object
org.zeromq.ZAuth.SimpleCurveAuth
- All Implemented Interfaces:
ZAuth.Auth
- Enclosing class:
ZAuth
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate ZCertStoreprivate final ZCertStore.Fingerprinter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthorize(ZAuth.ZapRequest request, boolean verbose) Callback for authorizing a connection.booleanConfigures with ad-hoc message.
-
Field Details
-
fingerprinter
-
certStore
-
allowAny
private boolean allowAny
-
-
Constructor Details
-
SimpleCurveAuth
public SimpleCurveAuth() -
SimpleCurveAuth
-
-
Method Details
-
configure
Description copied from interface:ZAuth.AuthConfigures with ad-hoc message.- Specified by:
configurein interfaceZAuth.Auth- Parameters:
configuration- the configuration message.verbose- true if the actor is verbose.- Returns:
- true if correctly configured, otherwise false.
-
authorize
Description copied from interface:ZAuth.AuthCallback for authorizing a connection.- Specified by:
authorizein interfaceZAuth.Auth- Parameters:
request-verbose-- Returns:
- true if the connection is authorized, false otherwise.
-