Interface AdminAuthCallback.RequestAccepter

  • All Superinterfaces:
    AdminAuthCallback, Callback
    Enclosing interface:
    AdminAuthCallback

    public static interface AdminAuthCallback.RequestAccepter
    extends AdminAuthCallback
    Prescribes behavior of callbacks that use request-time data in making their decisions.

    Token-based authentication, for example, uses a token conveyed with the request as a stand-in for username/password-based authentication. To keep inter-module dependencies simpler an implementation will probably check the type of the data and then cast it if appropriate.

    • Method Detail

      • setRequest

        void setRequest​(Object data)