Java Code Examples for sun.security.krb5.internal.crypto.EType#initStatic()

The following examples show how to use sun.security.krb5.internal.crypto.EType#initStatic() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Config.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 2
Source File: Config.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 3
Source File: Config.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 4
Source File: Config.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 5
Source File: Config.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 6
Source File: Config.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static void refresh() throws KrbException {
    synchronized (Config.class) {
        singleton = new Config();
    }
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 7
Source File: Config.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 8
Source File: Config.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 9
Source File: Config.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 10
Source File: Config.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 11
Source File: Config.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 12
Source File: Config.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}
 
Example 13
Source File: Config.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Refresh and reload the Configuration. This could involve,
 * for example reading the Configuration file again or getting
 * the java.security.krb5.* system properties again. This method
 * also tries its best to update static fields in other classes
 * that depend on the configuration.
 *
 * @exception KrbException if error occurs when constructing a Config
 * instance. Possible causes would be either of java.security.krb5.realm or
 * java.security.krb5.kdc not specified, error reading configuration file.
 */

public static synchronized void refresh() throws KrbException {
    singleton = new Config();
    KdcComm.initStatic();
    EType.initStatic();
    Checksum.initStatic();
}