@Override
    public List<ILdapRdn> getRdns() {
        if (cache == null) {
            cache = new ArrayList<>(dn.getRDNs().length);
            for (RDN rdn : dn.getRDNs()) {
                cache.add(new DefaultLdapRdn(rdn));
            }
        }
        return cache;
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultLdapDn.java