Liking cljdoc? Tell your friends :D

javax.security.auth.callback.PasswordCallback

Underlying security services instantiate and pass a PasswordCallback to the handle method of a CallbackHandler to retrieve password information.

 Underlying security services instantiate and pass a
PasswordCallback to the handle
method of a CallbackHandler to retrieve password information.
raw docstring

->password-callbackclj

(->password-callback prompt echo-on)

Constructor.

Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.

prompt - the prompt used to request the password. - java.lang.String echo-on - true if the password should be displayed as it is being typed. - boolean

throws: java.lang.IllegalArgumentException - if prompt is null or if prompt has a length of 0.

Constructor.

Construct a PasswordCallback with a prompt
 and a boolean specifying whether the password should be displayed
 as it is being typed.

prompt - the prompt used to request the password. - `java.lang.String`
echo-on - true if the password should be displayed as it is being typed. - `boolean`

throws: java.lang.IllegalArgumentException - if prompt is null or if prompt has a length of 0.
raw docstring

clear-passwordclj

(clear-password this)

Clear the retrieved password.

Clear the retrieved password.
raw docstring

echo-on?clj

(echo-on? this)

Return whether the password should be displayed as it is being typed.

returns: the whether the password should be displayed as it is being typed. - boolean

Return whether the password
 should be displayed as it is being typed.

returns: the whether the password
          should be displayed as it is being typed. - `boolean`
raw docstring

get-passwordclj

(get-password this)

Get the retrieved password.

This method returns a copy of the retrieved password.

returns: the retrieved password, which may be null. - char[]

Get the retrieved password.

  This method returns a copy of the retrieved password.

returns: the retrieved password, which may be null. - `char[]`
raw docstring

get-promptclj

(get-prompt this)

Get the prompt.

returns: the prompt. - java.lang.String

Get the prompt.

returns: the prompt. - `java.lang.String`
raw docstring

set-passwordclj

(set-password this password)

Set the retrieved password.

This method makes a copy of the input password before storing it.

password - the retrieved password, which may be null. - char[]

Set the retrieved password.

  This method makes a copy of the input password
 before storing it.

password - the retrieved password, which may be null. - `char[]`
raw docstring

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

× close