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