Class AuthnCallback.UsernameResult

java.lang.Object
org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
org.apache.subversion.javahl.callback.AuthnCallback.UsernameResult
All Implemented Interfaces:
Serializable
Enclosing interface:
AuthnCallback

public static final class AuthnCallback.UsernameResult
extends AuthnCallback.AuthnResult
implements Serializable
The result type used by {@see #usernamePrompt}.
See Also:
Serialized Form
  • Constructor Details

    • UsernameResult

      public UsernameResult​(String username)
      Set the username in the result. Assumes the result may not be stored permanently.
      Parameters:
      username - The username.
    • UsernameResult

      public UsernameResult​(String username, boolean maySave)
      Set the username in the result.
      Parameters:
      username - The username.
      maySave - Set if the result may be stored permanently.