7190273: Deprecate com.sun.security.auth.callback.DialogCallbackHandler

Sean Mullan sean.mullan at oracle.com
Tue Sep 18 12:38:15 UTC 2012


Sure, this change looks fine to me.

--Sean

On 9/18/12 6:01 AM, Alan Bateman wrote:
> 
> 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