Name
Class javax.security.auth.callback.NameCallback
Synopsis
Login modules use this callback to determine the
user ID.
Your callback handler should return the appropriate user ID by
calling the setName( )
method.
Class Definition
public class javax.security.auth.callback.NameCallback extends java.lang.Object implements javax.security.auth.callback.Callback { // Constructors public NameCallback(String, String); public NameCallback(String); // Instance Methods public String getDefaultName( ); public String getName( ); public String getPrompt( ); public void setName(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.