public interface Callback
实现该接口是通过一个CallbackHandler
,允许底层安全服务与调用应用程序来检索特定的认证数据,如用户名和密码进行交互的能力,或显示某些信息,如错误和警告消息。
Callback
实现不检索或显示潜在的安全服务要求的信息。Callback
实现简单地提供方法,通过应用这样的请求,并为应用程序,如果合适的话,返回所请求的信息返回到基本安全服务。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.