Uses of Class
javax.security.auth.kerberos.KerberosPrincipal
Packages that use KerberosPrincipal
Package
Description
This package contains utility classes related to the Kerberos network
authentication protocol.
-
Uses of KerberosPrincipal in javax.security.auth.kerberos
Methods in javax.security.auth.kerberos that return KerberosPrincipalModifier and TypeMethodDescriptionfinal KerberosPrincipalKerberosTicket.getClient()Returns the client principal associated with this ticket.final KerberosPrincipalKerberosKey.getPrincipal()Returns the principal that this key belongs to.KeyTab.getPrincipal()Returns the service principal thisKeyTabobject is bound to.KerberosCredMessage.getRecipient()Returns the recipient of this message.KerberosCredMessage.getSender()Returns the sender of this message.final KerberosPrincipalKerberosTicket.getServer()Returns the service principal associated with this ticket.Methods in javax.security.auth.kerberos with parameters of type KerberosPrincipalModifier and TypeMethodDescriptionstatic KeyTabKeyTab.getInstance(KerberosPrincipal princ) Returns the defaultKeyTabinstance that is bound to the specified service principal.static KeyTabKeyTab.getInstance(KerberosPrincipal princ, File file) Returns aKeyTabinstance from aFileobject that is bound to the specified service principal.KeyTab.getKeys(KerberosPrincipal principal) Returns fresh keys for the given Kerberos principal.Constructors in javax.security.auth.kerberos with parameters of type KerberosPrincipalModifierConstructorDescriptionKerberosCredMessage(KerberosPrincipal sender, KerberosPrincipal recipient, byte[] message) Constructs aKerberosCredMessageobject.KerberosKey(KerberosPrincipal principal, byte[] keyBytes, int keyType, int versionNum) Constructs aKerberosKeyfrom the given bytes when the key type and key version number are known.KerberosKey(KerberosPrincipal principal, char[] password, String algorithm) Constructs aKerberosKeyfrom a principal's password using the specified algorithm name.KerberosTicket(byte[] asn1Encoding, KerberosPrincipal client, KerberosPrincipal server, byte[] sessionKey, int keyType, boolean[] flags, Date authTime, Date startTime, Date endTime, Date renewTill, InetAddress[] clientAddresses) Constructs aKerberosTicketusing credentials information that a client either receives from a KDC or reads from a cache.