Liking cljdoc? Tell your friends :D

javax.security.auth.callback.NameCallback

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

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

->name-callbackclj

(->name-callback prompt)
(->name-callback prompt default-name)

Constructor.

Construct a NameCallback with a prompt and default name.

prompt - the prompt used to request the information. - java.lang.String default-name - the name to be used as the default name displayed with the prompt. - java.lang.String

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

Constructor.

Construct a NameCallback with a prompt
 and default name.

prompt - the prompt used to request the information. - `java.lang.String`
default-name - the name to be used as the default name displayed with the prompt. - `java.lang.String`

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

get-default-nameclj

(get-default-name this)

Get the default name.

returns: the default name, or null if this NameCallback was not instantiated with a defaultName. - java.lang.String

Get the default name.

returns: the default name, or null if this NameCallback
          was not instantiated with a defaultName. - `java.lang.String`
raw docstring

get-nameclj

(get-name this)

Get the retrieved name.

returns: the retrieved name (which may be null) - java.lang.String

Get the retrieved name.

returns: the retrieved name (which may be null) - `java.lang.String`
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-nameclj

(set-name this name)

Set the retrieved name.

name - the retrieved name (which may be null). - java.lang.String

Set the retrieved name.

name - the retrieved name (which may be null). - `java.lang.String`
raw docstring

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

× close