Package org.springframework.ldap.core

Examples of org.springframework.ldap.core.DistinguishedName


                    {
                        String value = (String) attribute.get(i);
                        if (containsDN && !StringUtils.isEmpty(value))
                        {
                            // ensure dn values are all always equally encoded so we can use values.contains(internalId)
                            value = new DistinguishedName(value).toCompactString();
                        }
                        attributes.add(value);
                    }
                    catch (NamingException e)
                    {
View Full Code Here


                    attributes.add(a);
                }
            }
            if (entityId == null)
            {
                DistinguishedName name = new DistinguishedName(dn);
                LdapRdn rdn = name.getLdapRdn(name.size() - 1);
                if (rdn.getKey().equals(searchConfiguration.getLdapIdAttribute()))
                {
                    entityId = rdn.getValue();
                }
                else
View Full Code Here

    public void setInternalId(String internalId)
    {
        if (internalId != null)
        {
            internalId = new DistinguishedName(internalId).toCompactString();
        }
        this.internalId = internalId;
    }
View Full Code Here

        this.upcm = upcm;
        this.manager = manager;
        this.synchronizer = synchronizer;
        this.poolingContextsource = poolingContextSource;
        this.userEntryPrefix = userEntryPrefix;       
        this.userSearchPath = new DistinguishedName(userSearchBase);
        if (!StringUtils.isEmpty(userFilter))
        {
            this.userFilter = new HardcodedFilter(userFilter);
        }       
        this.searchControls = new SearchControls();
View Full Code Here

TOP

Related Classes of org.springframework.ldap.core.DistinguishedName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.