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