O'Reilly logo

Java Security, 2nd Edition by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Class javax.security.auth.callback.TextInputCallback

Synopsis

Login modules use this callback to retrieve an arbitrary text string from the user. Your callback handler set the appropriate text by calling the setText( ) method.

Class Definition

public class javax.security.auth.callback.TextInputCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback {

    // Constructors
    public TextInputCallback(String, String);
    public TextInputCallback(String);

    // Instance Methods
    public String getDefaultText(  );
    public String getPrompt(  );
    public String getText(  );
    public void setText(String);
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required