Class UserDatabaseCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class UserDatabaseCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Callback for requesting and supplying a wiki UserDatabase. This callback is used by LoginModules that need access to a user database for looking up users by id.
    Since:
    2.3
    • Method Detail

      • getUserDatabase

        public UserDatabase getUserDatabase()
        Returns the user database object. LoginModules call this method after a CallbackHandler sets the user database.
        Returns:
        the user database
      • setUserDatabase

        public void setUserDatabase​(UserDatabase database)
        Sets the user database. CallbackHandler objects call this method..
        Parameters:
        database - the user database