@Override
    public String[] getServerAliases(final String keyType, final Principal[] issuers) {
        val aliases = new ArrayList<String>(keyManagers.size());
        this.keyManagers.forEach(keyManager -> aliases.addAll(CollectionUtils.wrapList(keyManager.getServerAliases(keyType, issuers))));
        return aliases.toArray(ArrayUtils.EMPTY_STRING_ARRAY);
    }
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