public static void setKerberosRealm(final String kerberosRealm) {
            if (StringUtils.isNotBlank(kerberosRealm)) {
                LOGGER.debug("kerberosRealm is set to :[{}]", kerberosRealm);
                System.setProperty(JcifsConfigConstants.SYS_PROP_KERBEROS_REALM, kerberosRealm);
            }
        }
Sets the kerberos realm.

@param kerberosRealm the new kerberos realm
support/cas-server-support-spnego/src/main/java/org/apereo/cas/support/spnego/authentication/handler/support/JcifsConfig.java