7190273: Deprecate com.sun.security.auth.callback.DialogCallbackHandler
Alan Bateman
Alan.Bateman at oracle.com
Tue Sep 18 10:01:54 UTC 2012
Sean - do you mind reviewing the attached? As background, the Oracle
specific API to JAAS has two sample CallbackHandlers, one of which is
highly problematic for our modularization efforts as it has an API
dependency on java.awt.Component. It doesn't appear to be used by many
but to discourage further usage then I think it should be deprecated
with a view to removing some time in the future.
-Alan
---
a/src/share/classes/com/sun/security/auth/callback/DialogCallbackHandler.java
+++
b/src/share/classes/com/sun/security/auth/callback/DialogCallbackHandler.java
@@ -52,7 +52,9 @@ import javax.swing.JTextField;
* This can be used by a JAAS application to instantiate a
* CallbackHandler
* @see javax.security.auth.callback
+ * @deprecated This class will be removed in a future release.
*/
+ at Deprecated
public class DialogCallbackHandler implements CallbackHandler {
/* -- Fields -- */
More information about the security-dev
mailing list