The class PasswordAuthentication is a data holder that is used by Authenticator. It is simply a repository for a user name and a password.
The class PasswordAuthentication is a data holder that is used by Authenticator. It is simply a repository for a user name and a password.
(->password-authentication user-name password)
Constructor.
Creates a new PasswordAuthentication object from the given user name and password.
Note that the given user password is cloned before it is stored in the new PasswordAuthentication object.
user-name - the user name - java.lang.String
password - the user's password - char[]
Constructor. Creates a new PasswordAuthentication object from the given user name and password. Note that the given user password is cloned before it is stored in the new PasswordAuthentication object. user-name - the user name - `java.lang.String` password - the user's password - `char[]`
(get-password this)
Returns the user password.
Note that this method returns a reference to the password. It is the caller's responsibility to zero out the password information after it is no longer needed.
returns: the password - char[]
Returns the user password. Note that this method returns a reference to the password. It is the caller's responsibility to zero out the password information after it is no longer needed. returns: the password - `char[]`
(get-user-name this)
Returns the user name.
returns: the user name - java.lang.String
Returns the user name. returns: the user name - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close