| 接口 | 描述 | 
|---|---|
| SaslClient |  
          
           执行SASL身份验证作为客户端。 
            |  
       
| SaslClientFactory |  
          
           用于创建SaslClient实例的 
            SaslClient 。 
          |  
       
| SaslServer |  
          
           执行SASL身份验证作为服务器。 
            |  
       
| SaslServerFactory |  
          
           用于创建SaslServer实例的 
            SaslServer 。 
          |  
       
| 类 | 描述 | 
|---|---|
| AuthorizeCallback |  
         SaslServer使用此回调来确定一个实体(由认证的身份验证身份标识)是否可以代表另一个实体(由授权标识标识)。 
          |  
       
| RealmCallback |  
         SaslClient和 
          SaslServer使用此回调来检索领域信息。 
          |  
       
| RealmChoiceCallback |  
         SaslClient和 
          SaslServer使用此回调获得领域选择列表的领域。 
          |  
       
| Sasl |  
          
           用于创建SASL客户端和服务器的静态类。 
            |  
       
| 异常 | 描述 | 
|---|---|
| AuthenticationException |  
          
           由SASL机制实现引发此异常,以指示SASL交换机由于与认证有关的原因(例如无效身份,密码或密钥)而失败。 
            |  
       
| SaslException |  
          
           此类表示使用SASL时发生的错误。 
            |  
       
SaslClient和SaslClientFactory接口。 
    编写服务器的开发人员使用SaslServer和SaslServerFactory接口。 
    在这两组用户中,每个用户可以进一步分为两组: 生产 SASL机制的人员和使用 SASL机制的人员。 
    SASL机制的生产者需要为这些接口提供实现,而SASL机制的用户使用此包中的API来访问这些实现。 
     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.