クラス
javax.security.auth.kerberos.KerberosPrincipalの使用
-
javax.security.auth.kerberosでのKerberosPrincipalの使用
修飾子と型メソッド説明KerberosTicket.getClient()
このチケットに関連付けられたクライアント主体を返します。KerberosKey.getPrincipal()
このキーが属する主体を返します。KeyTab.getPrincipal()
このKeyTab
オブジェクトがバインドされているサービス主体を返します。KerberosCredMessage.getRecipient()
このメッセージの受信者を返します。KerberosCredMessage.getSender()
このメッセージの送信者を返します。KerberosTicket.getServer()
このチケットに関連付けられたサービス主体を返します。修飾子と型メソッド説明static KeyTab
KeyTab.getInstance(KerberosPrincipal princ)
指定されたサービス主体にバインドされたデフォルトのKeyTab
インスタンスを返します。static KeyTab
KeyTab.getInstance(KerberosPrincipal princ, File file)
指定されたサービス主体にバインドされたFile
オブジェクトからKeyTab
インスタンスを返します。KeyTab.getKeys(KerberosPrincipal principal)
指定したKerberos主体の新しいキーを返します。修飾子コンストラクタ説明KerberosCredMessage(KerberosPrincipal sender, KerberosPrincipal recipient, byte[] message)
KerberosCredMessage
オブジェクトを構築します。KerberosKey(KerberosPrincipal principal, byte[] keyBytes, int keyType, int versionNum)
鍵の型と鍵のバージョン番号が分かっている場合は、指定されたバイトからKerberosKey
を構築します。KerberosKey(KerberosPrincipal principal, char[] password, String algorithm)
指定されたアルゴリズム名を使用して、プリンシパル・パスワードからKerberosKey
を作成します。KerberosTicket(byte[] asn1Encoding, KerberosPrincipal client, KerberosPrincipal server, byte[] sessionKey, int keyType, boolean[] flags, Date authTime, Date startTime, Date endTime, Date renewTill, InetAddress[] clientAddresses)
クライアントがKDCから受け取るか、またはキャッシュから読み取る資格証明を使用してKerberosTicket
を作成します。