# Package javax.security.auth.kerberos

This package contains utility classes related to the Kerberos network authentication protocol.

See: Description

- Class Summary
  Class | Description
  --- | ---
  DelegationPermission | This class is used to restrict the usage of the Kerberos delegation model, ie: forwardable and proxiable tickets.
  KerberosKey | This class encapsulates a long term secret key for a Kerberos principal.
  KerberosPrincipal | This class encapsulates a Kerberos principal.
  KerberosTicket | This class encapsulates a Kerberos ticket and associated information as viewed from the client's point of view.
  KeyTab | This class encapsulates a keytab file.
  ServicePermission | This class is used to protect Kerberos services and the credentials necessary to access those services.

## Package javax.security.auth.kerberos Description

This package contains utility classes related to the Kerberos network authentication protocol. They do not provide much Kerberos support themselves.

The Kerberos network authentication protocol is defined in RFC 4120. The Java platform contains support for the client side of Kerberos via the `org.ietf.jgss` package. There might also be a login module that implements `LoginModule` to authenticate Kerberos principals.

You can provide the name of your default realm and Key Distribution Center (KDC) host for that realm using the system properties `java.security.krb5.realm` and `java.security.krb5.kdc`. Both properties must be set. Alternatively, you can provide an MIT style configuration file called `krb5.conf` in `<java-home>/lib/security`. If you place this file elsewhere, you can indicate that location via the system property `java.security.krb5.conf`.

Since:
  JDK1.4

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, 2019, Oracle and/or its affiliates. All rights reserved.