RingJavafor Ring

javax.security.auth.callback

10 classes of the module java.base.

Load them with:

using {
	"javax.security.auth.callback"
}

All packages

Callback#

interface · javax.security.auth.callback.Callback

CallbackHandler#

interface · javax.security.auth.callback.CallbackHandler

Methods

MethodRing callJava overloads
handlehandle(callbacks)void handle(Callback[] callbacks)

ChoiceCallback#

class · extends Object · javax.security.auth.callback.ChoiceCallback

Implements: Callback, Serializable

Constructors

new ChoiceCallback(String prompt, String[] choices, int defaultChoice, boolean multipleSelectionsAllowed)

Ring: new ChoiceCallback(args) uses the constructor with the fewest parameters (at least one); new ChoiceCallback makes the object with the constructor without parameters; the others: (new ChoiceCallback).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
allowMultipleSelectionsallowMultipleSelections()boolean allowMultipleSelections()
getChoicesgetChoices()String[] getChoices()
getDefaultChoicegetDefaultChoice()int getDefaultChoice()
getPromptgetPrompt()String getPrompt()
getSelectedIndexesgetSelectedIndexes()int[] getSelectedIndexes()
setSelectedIndexsetSelectedIndex(selection)void setSelectedIndex(int selection)
setSelectedIndexessetSelectedIndexes(selections)void setSelectedIndexes(int[] selections)

The methods and fields of Object are inherited.

ConfirmationCallback#

class · extends Object · javax.security.auth.callback.ConfirmationCallback

Implements: Callback, Serializable

Constructors

new ConfirmationCallback(int messageType, String[] options, int defaultOption)
new ConfirmationCallback(int messageType, int optionType, int defaultOption)
new ConfirmationCallback(String prompt, int messageType, String[] options, int defaultOption)
new ConfirmationCallback(String prompt, int messageType, int optionType, int defaultOption)

Ring: new ConfirmationCallback(args) uses the constructor with the fewest parameters (at least one); new ConfirmationCallback makes the object with the constructor without parameters; the others: (new ConfirmationCallback).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
UNSPECIFIED_OPTIONintconstant · statico.UNSPECIFIED_OPTION
YES_NO_OPTIONintconstant · statico.YES_NO_OPTION
YES_NO_CANCEL_OPTIONintconstant · statico.YES_NO_CANCEL_OPTION
OK_CANCEL_OPTIONintconstant · statico.OK_CANCEL_OPTION
YESintconstant · statico.YES
NOintconstant · statico.NO
CANCELintconstant · statico.CANCEL
OKintconstant · statico.OK
INFORMATIONintconstant · statico.INFORMATION
WARNINGintconstant · statico.WARNING
ERRORintconstant · statico.ERROR

Methods

MethodRing callJava overloads
getDefaultOptiongetDefaultOption()int getDefaultOption()
getMessageTypegetMessageType()int getMessageType()
getOptionsgetOptions()String[] getOptions()
getOptionTypegetOptionType()int getOptionType()
getPromptgetPrompt()String getPrompt()
getSelectedIndexgetSelectedIndex()int getSelectedIndex()
setSelectedIndexsetSelectedIndex(selection)void setSelectedIndex(int selection)

The methods and fields of Object are inherited.

LanguageCallback#

class · extends Object · javax.security.auth.callback.LanguageCallback

Implements: Callback, Serializable

Constructors

new LanguageCallback()

Ring: new LanguageCallback(args) uses the constructor with the fewest parameters (at least one); new LanguageCallback makes the object with the constructor without parameters; the others: (new LanguageCallback).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getLocalegetLocale()Locale getLocale()
setLocalesetLocale(locale)void setLocale(Locale locale)

The methods and fields of Object are inherited.

NameCallback#

class · extends Object · javax.security.auth.callback.NameCallback

Implements: Callback, Serializable

Constructors

new NameCallback(String prompt)
new NameCallback(String prompt, String defaultName)

Ring: new NameCallback(args) uses the constructor with the fewest parameters (at least one); new NameCallback makes the object with the constructor without parameters; the others: (new NameCallback).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getDefaultNamegetDefaultName()String getDefaultName()
getNamegetName()String getName()
getPromptgetPrompt()String getPrompt()
setNamesetName(name)void setName(String name)

The methods and fields of Object are inherited.

PasswordCallback#

class · extends Object · javax.security.auth.callback.PasswordCallback

Implements: Callback, Serializable

Constructors

new PasswordCallback(String prompt, boolean echoOn)

Ring: new PasswordCallback(args) uses the constructor with the fewest parameters (at least one); new PasswordCallback makes the object with the constructor without parameters; the others: (new PasswordCallback).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
clearPasswordclearPassword()void clearPassword()
getPasswordgetPassword()char[] getPassword()
getPromptgetPrompt()String getPrompt()
isEchoOnisEchoOn()boolean isEchoOn()
setPasswordsetPassword(password)void setPassword(char[] password)

The methods and fields of Object are inherited.

TextInputCallback#

class · extends Object · javax.security.auth.callback.TextInputCallback

Implements: Callback, Serializable

Constructors

new TextInputCallback(String prompt)
new TextInputCallback(String prompt, String defaultText)

Ring: new TextInputCallback(args) uses the constructor with the fewest parameters (at least one); new TextInputCallback makes the object with the constructor without parameters; the others: (new TextInputCallback).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getDefaultTextgetDefaultText()String getDefaultText()
getPromptgetPrompt()String getPrompt()
getTextgetText()String getText()
setTextsetText(text)void setText(String text)

The methods and fields of Object are inherited.

TextOutputCallback#

class · extends Object · javax.security.auth.callback.TextOutputCallback

Implements: Callback, Serializable

Constructors

new TextOutputCallback(int messageType, String message)

Ring: new TextOutputCallback(args) uses the constructor with the fewest parameters (at least one); new TextOutputCallback makes the object with the constructor without parameters; the others: (new TextOutputCallback).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
INFORMATIONintconstant · statico.INFORMATION
WARNINGintconstant · statico.WARNING
ERRORintconstant · statico.ERROR

Methods

MethodRing callJava overloads
getMessagegetMessage()String getMessage()
getMessageTypegetMessageType()int getMessageType()

The methods and fields of Object are inherited.

UnsupportedCallbackException#

class · extends Exception · javax.security.auth.callback.UnsupportedCallbackException

Constructors

new UnsupportedCallbackException(Callback callback)
new UnsupportedCallbackException(Callback callback, String msg)

Ring: new UnsupportedCallbackException(args) uses the constructor with the fewest parameters (at least one); new UnsupportedCallbackException makes the object with the constructor without parameters; the others: (new UnsupportedCallbackException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCallbackgetCallback()Callback getCallback()

The methods and fields of Exception are inherited.

RingJava - use Java classes and methods from Ring programs.