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.
(->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.
(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`
(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`
(get-prompt this)
Get the prompt.
returns: the prompt. - java.lang.String
Get the prompt. returns: the prompt. - `java.lang.String`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close