Class AuthnCallback.UserPasswordResult
java.lang.Object
org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
org.apache.subversion.javahl.callback.AuthnCallback.UserPasswordResult
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- AuthnCallback
public static final class AuthnCallback.UserPasswordResult extends AuthnCallback.AuthnResult implements Serializable
The result type used by {@see #userPasswordPrompt}.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
identity, save, secret, trust
-
Constructor Summary
Constructors Constructor Description UserPasswordResult(String username, String password)
Set the username and password in the result.UserPasswordResult(String username, String password, boolean maySave)
Set the username and password in the result. -
Method Summary
-
Constructor Details
-
UserPasswordResult
Set the username and password in the result. Assumes the result may not be stored permanently.- Parameters:
username
- The username.password
- The password.
-
UserPasswordResult
Set the username and password in the result.- Parameters:
username
- The user name.password
- The password.maySave
- Set if the result may be stored permanently.
-