View Javadoc

1   package com.atlassian.user.impl.ldap;
2   
3   import com.atlassian.user.impl.DefaultUser;
4   
5   public class DefaultLDAPUser extends DefaultUser implements LDAPEntity
6   {
7       /**
8        * This is an escaped DN, ready to be passed to LDAP, but not escaped for JNDI
9        */
10      private String distinguishedName;
11  
12      public DefaultLDAPUser(String name, String distinguishedName)
13      {
14          super(name);
15          this.distinguishedName = distinguishedName;
16      }
17  
18      public String getDistinguishedName()
19      {
20          return distinguishedName;
21      }
22  
23      public void setDistinguishedName(String distinguishedName)
24      {
25          this.distinguishedName = distinguishedName;
26      }
27  }