java.lang.Object | |
↳ | sun.security.krb5.Config |
This class maintains key-value pairs of Kerberos configurable constants from configuration file or from user specified system properties.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the default encryption types.
| |||||||||||
Gets the default string value for the specified name.
| |||||||||||
Gets the default string value for the specified name in the
specified section.
| |||||||||||
Gets the default boolean value for the specified name in the
specified section.
| |||||||||||
Gets the default boolean value for the specified name.
| |||||||||||
Gets the default int value for the specified name.
| |||||||||||
Gets the default int value for the specified name in the specified
section.
| |||||||||||
Gets default realm.
| |||||||||||
Gets an instance of Config class.
| |||||||||||
Returns a list of KDC's with each KDC separated by a space
| |||||||||||
Get the etype and checksum value for the specified encryption and
checksum type.
| |||||||||||
For testing purpose.
| |||||||||||
Refresh and reload the Configuration.
| |||||||||||
Resets the default kdc realm.
| |||||||||||
Check to use addresses in tickets
use addresses if "no_addresses" or "noaddresses" is set to false
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the default string value for the specified name.
name | the name. |
---|
Gets the default string value for the specified name in the
specified section.
This method is quicker by using the section name as the search key.
name | the name. |
---|---|
section | the name of the section. |
Gets the default boolean value for the specified name in the
specified section.
This method is quicker by using the section name as the search key.
name | the name. |
---|---|
section | the name of the section. |
Gets the default boolean value for the specified name.
name | the name. |
---|
Gets the default int value for the specified name.
name | the name. |
---|
Gets the default int value for the specified name in the specified
section.
This method is quicker by using section name as the
search key.
name | the name. |
---|
Gets an instance of Config class. One and only one instance (the singleton) is returned.
KrbException | if error occurs when constructing a Config instance. Possible causes would be configuration file not found, either of java.security.krb5.realm or java.security.krb5.kdc not specified, error reading configuration file. |
---|
Returns a list of KDC's with each KDC separated by a space
realm | the realm for which the master KDC is desired |
---|
Get the etype and checksum value for the specified encryption and checksum type.
For testing purpose. This method lists all information being parsed from the configuration file to the hashtable.
Refresh and reload the Configuration. This could involve, for example reading the Configuration file again or getting the java.security.krb5.* system properties again.
KrbException | if error occurs when constructing a Config instance. Possible causes would be configuration file not found, either of java.security.krb5.realm or java.security.krb5.kdc not specified, error reading configuration file. |
---|
Resets the default kdc realm. We do not need to synchronize these methods since assignments are atomic
Check to use addresses in tickets use addresses if "no_addresses" or "noaddresses" is set to false