0
ユーザー認証用にLDAPと組み合わせたApache Shiroプラグインを使用しています。これを行うには、LDAPサーバーのユーザー名とパスワードを保持する必要があります。私は本当に今、私のshiro.iniは、プロパティの名前になりますこれは何Shiro.ini LDAPサーバーの資格情報
[main]
ldapRealm = org.apache.zeppelin.server.LdapGroupRealm
ldapRealm.contextFactory.environment[ldap.searchBase] = OU=Users,DC=mycompany,DC=local
ldapRealm.contextFactory.url = ldap://myldapserver:389
ldapRealm.userDnTemplate = uid={0},ou=Users,dc=mycompany,dc=local
ldapRealm.contextFactory.authenticationMechanism = SIMPLE
securityManager.realms = $ldapRealm
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 86400000
shiro.loginUrl = /api/login
のように見えるため をshiro.iniアプリのソースコードを変更し、設定ファイルに資格情報を保存しておきたいしたくありませんそれをするために?事前
ありがとうございました。あなたの設定の例を提供してもよろしいですか? – thepolina