package com.yifu.cloud.plus.v1.yifu.common.ldap.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@PropertySource("classpath:ldapConfig.properties")
@ConfigurationProperties(value = "ldap", ignoreInvalidFields = false)
public class LdapProperties {

	String url;

	String dn;

	String password;

	Integer port;

	String userName;

	String baseDn;
}
