Package | Description |
---|---|
javax.security.auth.kerberos |
This package contains utility classes related to the Kerberos network
authentication protocol.
|
Modifier and Type | Method and Description |
---|---|
KerberosPrincipal |
KerberosTicket.getClient()
Returns the client principal associated with this ticket.
|
KerberosPrincipal |
KerberosKey.getPrincipal()
Returns the principal that this key belongs to.
|
KerberosPrincipal |
KerberosTicket.getServer()
Returns the service principal associated with this ticket.
|
Modifier and Type | Method and Description |
---|---|
KerberosKey[] |
KeyTab.getKeys(KerberosPrincipal principal)
Returns fresh keys for the given Kerberos principal.
|
Constructor and Description |
---|
KerberosKey(KerberosPrincipal principal,
byte[] keyBytes,
int keyType,
int versionNum)
Constructs a KerberosKey from the given bytes when the key type and
key version number are known.
|
KerberosKey(KerberosPrincipal principal,
char[] password,
String algorithm)
Constructs a KerberosKey from a principal's password.
|
KerberosTicket(byte[] asn1Encoding,
KerberosPrincipal client,
KerberosPrincipal server,
byte[] sessionKey,
int keyType,
boolean[] flags,
Date authTime,
Date startTime,
Date endTime,
Date renewTill,
InetAddress[] clientAddresses)
Constructs a KerberosTicket using credentials information that a
client either receives from a KDC or reads from a cache.
|
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, 2015, Oracle and/or its affiliates. All rights reserved.