private static X509TrustManager getDisabledTrustedManager() {
            return new X509TrustManager() {
                @Override
                public void checkClientTrusted(final X509Certificate[] certs, final String authType) {
                }

                @Override
                public void checkServerTrusted(final X509Certificate[] certs, final String authType) {
                }

                @Override
                public X509Certificate[] getAcceptedIssuers() {
                    return ACCEPTED_ISSUERS;
                }
            };
        }
Gets key manager factory.

@return the key manager factory
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/CasSSLContext.java