1 /* 2 * @(#)Callback.java 1.10 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 9 package javax.security.auth.callback; 10 11 /** 12 * <p> Implementations of this interface are passed to a 13 * <code>CallbackHandler</code>, allowing underlying security services 14 * the ability to interact with a calling application to retrieve specific 15 * authentication data such as usernames and passwords, or to display 16 * certain information, such as error and warning messages. 17 * 18 * <p> <code>Callback</code> implementations do not retrieve or 19 * display the information requested by underlying security services. 20 * <code>Callback</code> implementations simply provide the means 21 * to pass such requests to applications, and for applications, 22 * if appropriate, to return requested information back to the 23 * underlying security services. 24 * 25 * @version 1.10, 12/19/03 26 * @see javax.security.auth.callback.CallbackHandler 27 * @see javax.security.auth.callback.ChoiceCallback 28 * @see javax.security.auth.callback.ConfirmationCallback 29 * @see javax.security.auth.callback.LanguageCallback 30 * @see javax.security.auth.callback.NameCallback 31 * @see javax.security.auth.callback.PasswordCallback 32 * @see javax.security.auth.callback.TextInputCallback 33 * @see javax.security.auth.callback.TextOutputCallback 34 */ 35 public interface Callback { } 36