com.netgrif.application.engine.ldap.domain.LdapUserRef Maven / Gradle / Ivy
package com.netgrif.application.engine.ldap.domain;
import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.ldap.odm.annotations.Entry;
import org.springframework.ldap.odm.annotations.Id;
import javax.naming.Name;
import java.util.List;
import java.util.Set;
@Data
@Entry(
objectClasses = "${nae.ldap.objectClasses:inetOrgPerson,organizationalPerson,person,top}",
base = "${nae.ldap.base:ou=users}"
)
@ConditionalOnExpression("${nae.ldap.enabled:false}")
public class LdapUserRef {
@Id
private Name dn;
private String cn;
private String uid;
private String mail;
private String firstName;
private byte[] password;
private String surname;
private String fullName;
private String telNumber;
private String homeDirectory;
private List objectClass;
private Set memberOf;
private String lockingOut;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy