87 lines
4.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<h1 class="title" title="Package">Package javax.security.auth.kerberos</h1>
<div class="docSummary">
<div class="block">
此包包含与Kerberos网络身份验证协议相关的实用程序类。
</div>
</div>
<p>See: <a href="#package.description">描述</a></p>
</div><div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Class Summary table, listing classes, and an explanation">
<caption>
<span>类摘要</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col"></th>
<th class="colLast" scope="col">描述</th>
</tr>
</tbody>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/DelegationPermission.html" title="class in javax.security.auth.kerberos">DelegationPermission</a></td>
<td class="colLast">
<div class="block">
此类用于限制Kerberos授权模型的使用可转发和可预售的机票。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/KerberosKey.html" title="class in javax.security.auth.kerberos">KerberosKey</a></td>
<td class="colLast">
<div class="block">
该类封装了Kerberos主体的长期密钥。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/KerberosPrincipal.html" title="class in javax.security.auth.kerberos">KerberosPrincipal</a></td>
<td class="colLast">
<div class="block">
这个类封装了一个Kerberos主体。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/KerberosTicket.html" title="class in javax.security.auth.kerberos">KerberosTicket</a></td>
<td class="colLast">
<div class="block">
从客户端的角度来看该类封装了Kerberos票证和相关信息。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/KeyTab.html" title="class in javax.security.auth.kerberos">KeyTab</a></td>
<td class="colLast">
<div class="block">
这个类封装了一个keytab文件。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../javax/security/auth/kerberos/ServicePermission.html" title="class in javax.security.auth.kerberos">ServicePermission</a></td>
<td class="colLast">
<div class="block">
此类用于保护Kerberos服务和访问这些服务所必需的凭据。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<a name="package.description">
<!-- --> </a>
<h2 title="Package javax.security.auth.kerberos Description">Package javax.security.auth.kerberos Description</h2>
<div class="block">
<span>此包包含与Kerberos网络身份验证协议相关的实用程序类。</span>
<span>他们自己不提供很多Kerberos支持。</span>
<p> <span>Kerberos网络认证协议在<a href="http://www.ietf.org/rfc/rfc4120.txt">RFC 4120</a>中定义。</span> <span>Java平台通过<a href="../../../../org/ietf/jgss/package-summary.html"><code>org.ietf.jgss</code></a>软件包包含对Kerberos客户端的支持。</span> <span>还可能有一个登录模块实现<a href="../../../../javax/security/auth/spi/LoginModule.html" title="javax.security.auth.spi中的接口"><code>LoginModule</code></a>来验证Kerberos主体。</span> </p>
<p> <span>您可以使用系统属性<code>java.security.krb5.realm</code><code>java.security.krb5.kdc</code>为该领域提供默认领域和密钥分配中心KDC主机的<code>java.security.krb5.kdc</code></span> <span>必须设置两个属性。</span> <span>或者, <code>java.security.krb5.conf</code>系统属性可以设置为MIT样式<code>krb5.conf</code>配置文件的位置。</span> <span>如果没有设置这些系统属性,则以实现特定的方式搜索<code>krb5.conf</code>文件。</span> <span>通常情况下,实施将首先寻找一个<code>krb5.conf</code>文件<code>&lt;java-home&gt;/lib/security</code>和失败,在一个特定的操作系统的位置。</span> </p>
<p></p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
JDK1.4
</dd>
</dl>
</div>