@Override
        public TrustManagerFactory getTrustManagerFactory() {
            return Unchecked.supplier(() -> {
                val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
                factory.init((KeyStore) null);
                return factory;
            }).get();
        }
Gets key manager factory.

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