@Override
    public String chooseServerAlias(final String keyType, final Principal[] issuers, final Socket socket) {
        return this.keyManagers.stream().map(keyManager -> keyManager.chooseServerAlias(keyType, issuers, socket))
            .filter(Objects::nonNull).findFirst().orElse(null);
    }
This is {@link CompositeX509KeyManager}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/ssl/CompositeX509KeyManager.java