View Javadoc
1   /*
2    * Copyright 2019 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.bremersee.dccon.repository.ldap;
18  
19  /**
20   * @author Christian Bremer
21   */
22  public class DomainUserLdapConstants {
23  
24    public static final String DESCRIPTION = "description";
25  
26    public static final String DISPLAY_NAME = "displayName";
27  
28    public static final String GECOS = "gecos";
29  
30    public static final String GIVEN_NAME = "givenName";
31  
32    public static final String HOME_DIRECTORY = "homeDirectory";
33  
34    public static final String JPEG_PHOTO = "jpegPhoto";
35  
36    public static final String LAST_LOGON = "lastLogon";
37  
38    public static final String LOGIN_SHELL = "loginShell";
39  
40    public static final String LOGON_COUNT = "logonCount";
41  
42    public static final String MAIL = "mail";
43  
44    public static final String MEMBER_OF = "memberOf";
45  
46    public static final String MOBILE = "mobile";
47  
48    public static final String NAME = "name";
49  
50    public static final String OBJECT_SID = "objectSid";
51  
52    public static final String PWD_LAST_SET = "pwdLastSet";
53  
54    public static final String SAM_ACCOUNT_NAME = "sAMAccountName";
55  
56    public static final String SN = "sn";
57  
58    public static final String TELEPHONE_NUMBER = "telephoneNumber";
59  
60    public static final String UID = "uid";
61  
62    public static final String UNIX_HOME_DIRECTORY = "unixHomeDirectory";
63  
64    public static final String USER_ACCOUNT_CONTROL = "userAccountControl";
65  
66    public static final String[] BINARY_ATTRIBUTES = {
67        JPEG_PHOTO,
68        OBJECT_SID
69    };
70  
71    private DomainUserLdapConstants() {
72    }
73  }