Liking cljdoc? Tell your friends :D

jdk.net.PasswordAuthentication

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.
raw docstring

->password-authenticationclj

(->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[]`
raw docstring

get-passwordclj

(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[]`
raw docstring

get-user-nameclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close