Páginas filhas
  • Configuração TOTVS Agro Multicultivo x Active Directory (AD)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

A seguir é demonstrado um exemplo do arquivo LOGINlogin.PROPERTIES properties liberado no pacote do instalador do TOTVS Agro Multicultivo .

...

Para habilitar o processo de de integração do TOTVS Agro Multicultivos com o LDAP é preciso modificar o arquivo login.properties conforme demonstrado abaixo;


Bloco de código
languagejava
themeEclipse
titleLOGIN.PROPERTIES com as propriedades do LDAP
linenumberstrue
application.totvs.com.br.licensing.enabled=true
application.totvs.com.br.configParam=DES,DatabaseLogin,RCMP,OSCAMPO,PAGSERV,JMSEAI,BNF
application.totvs.com.br.login.audit=true
application.totvs.com.br.login.datasource.name=java\:PIMSMulticulturaDS
application.authentication.domains=totvs.com.br
application.instance=DES

#Configurações do LDAP

application.totvs.com.br.implementation=br.agr.proxima.framework.security.login.LdapLoginServiceImpl
application.totvs.com.br.configParam=LdapLogin,RCMP,OSCAMPO,PAGSERV,JMSEAI,BNF,EAI
application.totvs.com.br.ldap.host=10.0.0.2 (LOCAL ONDE ESTÁ O AD INSTALADO)
application.totvs.com.br.ldap.port=389      (PORTA ONDE ESTÁ O AD INSTALADO)
application.totvs.com.br.ldap.baseDN=CN=Users,DC=proxima,DC=agr,DC=br (CONFIGURAÇÃO DE DN DENTRO DO AD DO CLIENTE)
application.totvs.com.br.ldap.authentication=simple
application.totvs.com.br.ldap.bind.user=geoagro     totvs 		(USUÁRIO COM ACESSO AO AD COM PERMISSÃO PARA VISUALIZAR OS DEMAIS USUÁRIOS)
application.totvs.com.br.ldap.bind.password=geoagro totvs(SENHA DE ACESSO AO AD COM PERMISSÃO PARA VISUALIZAR OS DEMAIS USUÁRIOS)
application.totvs.com.br.ldap.timeout=5000
application.totvs.com.br.ldap.server=MS
application.totvs.com.br.ldap.sufixDomainName=proxima.agr.br
application.totvs.com.br.ldap.concatUIDwithDOMAIN=true
application.totvs.com.br.ldap.debug=false
application.totvs.com.br.ldap.attribute.uid=userPrincipalName (definir como será o user id dele)
application.totvs.com.br.ldap.attribute.cn=cn
application.totvs.com.br.ldap.attribute.givenName=givenName
application.totvs.com.br.ldap.attribute.sn=sn
application.totvs.com.br.ldap.attribute.mail=postOfficeBox
application.totvs.com.br.ldap.attribute.memberOf=memberOf

...




Nota
titleNesse tópico estão listadas as propriedades deveram ser modificadas;