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

    Modifier and Type
    Method
    Description
    boolean
    authorize(ZAuth.ZapRequest request, boolean verbose)
    Callback for authorizing a connection.
    boolean
    configure(ZMsg msg, boolean verbose)
    Configures with ad-hoc message.
  • Method Details

    • 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.