May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class javax.security.auth.callback.Password-Callback
Login modules use this callback to
determine the user’s password.
Your callback handler should return the appropriate password by
calling the setPassword( ) method. If the
isEchoOn( ) method returns
false, then the password should not be echoed as
the user types it.
public class javax.security.auth.callback.PasswordCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback {
// Constructors
public PasswordCallback(String, boolean);
// Instance Methods
public void clearPassword( );
public char[] getPassword( );
public String getPrompt( );
public boolean isEchoOn( );
public void setPassword(char[]);
}Read now
Unlock full access