Package org.zeromq
Interface ZAuth.Auth
-
- All Known Implementing Classes:
ZAuth.SimpleCurveAuth,ZAuth.SimpleNullAuth,ZAuth.SimplePlainAuth
- Enclosing class:
- ZAuth
public static interface ZAuth.Auth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanauthorize(ZAuth.ZapRequest request, boolean verbose)Callback for authorizing a connection.booleanconfigure(ZMsg msg, boolean verbose)Configures with ad-hoc message.
-
-
-
Method Detail
-
configure
boolean configure(ZMsg msg, boolean verbose)
Configures with ad-hoc message.- Parameters:
msg- the configuration message.verbose- true if the actor is verbose.- Returns:
- true if correctly configured, otherwise false.
-
authorize
boolean authorize(ZAuth.ZapRequest request, boolean verbose)
Callback for authorizing a connection.- Parameters:
request-verbose-- Returns:
- true if the connection is authorized, false otherwise.
-
-