Java javax.security.auth.callback PasswordCallback fields, constructors, methods, implement or subclass

Example usage for Java javax.security.auth.callback PasswordCallback fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.security.auth.callback PasswordCallback.

The text is from its open source code.

Constructor

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

Method

voidclearPassword()
Clear the retrieved password.
ClassgetClass()
Returns the runtime class of this Object .
char[]getPassword()
Get the retrieved password.
StringgetPrompt()
Get the prompt.
voidsetPassword(char[] password)
Set the retrieved password.