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);
}

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.