Ricky

链接

RSS

RSS Link
修改DLL
Pentaho配置Active Directory验证

SpagoBI集成LDAP访问

Ricky posted @ 2017年3月20日 16:36 in Other , 2181 阅读

SpagoBI 5.2集成AD访问

官方手册是在太老了, 花了一天时间才搞定

1. 仍然是修改三个参数

SPAGOBI.SECURITY.PORTAL-SECURITY-CLASS.className=it.eng.spagobi.security.LdapSecurityProviderImpl 
SPAGOBI.SECURITY.USER-PROFILE-FACTORY-CLASS.className=it.eng.spagobi.security.LdapUserProfileFactoryImpl 
SPAGOBI.SECURITY.PORTAL-SECURITY-INIT-CLASS.className=it.eng.spagobi.security.init.LdapSecurityProviderInit

2. ldap_authirizations.xml

 

<?xml version="1.0" encoding="UTF-8"?> 
<LDAP_AUTHORIZATIONS default="FALSE"> 
<CONFIG> 

<!-- SERVER --> 
<HOST>10.16.10.98</HOST> 
<PORT>389</PORT> 
<ADMIN_USER>ldapadmin@tfsad.com</ADMIN_USER> <!-- THIS IS KEY --> 
<ADMIN_PSW>password</ADMIN_PSW> <!-- password in clear text --> 
<BASE_DN>DC=tfsad,DC=com</BASE_DN> <!-- base domain, if any --> 

<!-- USERS --> 
<USER_SEARCH_PATH>ou=XXX</USER_SEARCH_PATH> <!-- SpagoBI will look for users under this node - Our user OU is STAFF --> 
<USER_OBJECT_CLASS>user</USER_OBJECT_CLASS> <!-- class for users' objects --> 
<USER_ID_ATTRIBUTE_NAME>sAMAccountName</USER_ID_ATTRIBUTE_NAME> <!-- name of the attribute containing the user identifier --> 
<USER_NAME_ATTRIBUTE_NAME>name</USER_NAME_ATTRIBUTE_NAME> <!-- name of the attribute(*) containing the user name --> 
<SUPER_ADMIN_ATTRIBUTE_NAME>superAdmin</SUPER_ADMIN_ATTRIBUTE_NAME> <!-- name of the attribute(*) containing the super admin flag --> 
<!-- (*) SPAGOBI attribute, not LDAP attribute!!! It must match the "name" attribute of one USER_ATTRIBUTE tag below --> 
<USER_MEMBEROF_ATTRIBUTE_NAME>memberOf</USER_MEMBEROF_ATTRIBUTE_NAME> <!-- this attribute has to contain the list of groups the user belongs to --> 

<!-- list of the users' attributes to be loaded when querying the LDAP --> 
<USER_ATTRIBUTE name="id">sAMAccountName</USER_ATTRIBUTE> <!-- LDAP attribute to be considered as SpagoBI attribute --> 
<USER_ATTRIBUTE name="name">name</USER_ATTRIBUTE> 
<USER_ATTRIBUTE name="mail">mail</USER_ATTRIBUTE> 
<USER_ATTRIBUTE name="memberOf">memberOf</USER_ATTRIBUTE> 
<USER_ATTRIBUTE name="superAdmin">superAdmin</USER_ATTRIBUTE> --> 

<!-- GROUPS --> 
<GROUP_SEARCH_PATH>OU=XXX</GROUP_SEARCH_PATH> <!-- SpagoBI will look for groups under this node --> 
<GROUP_OBJECT_CLASS>group</GROUP_OBJECT_CLASS> <!-- class for groups' objects --> 
<GROUP_ID_ATTRIBUTE_NAME>cn</GROUP_ID_ATTRIBUTE_NAME> <!-- the attribute containing the name of the group --> 

<!-- list of the users' attributes to be loaded when querying the LDAP --> 
<!-- <GROUP_ATTRIBUTE>ou</GROUP_ATTRIBUTE> --> 
<GROUP_ATTRIBUTE>cn</GROUP_ATTRIBUTE> 

<ACCESS_GROUP_NAME></ACCESS_GROUP_NAME> <!-- Access group name: if specified, users must belong to this group in order to enter SpagoBI --> 
<GROUP_MEMBERS_ATTRIBUTE_NAME></GROUP_MEMBERS_ATTRIBUTE_NAME> <!-- this attribute has to contain the list of users belonging to this group, in case the ACCESS_GROUP_NAME is specified --> 

</CONFIG> 
</LDAP_AUTHORIZATIONS> 

注意密码是明文,而不是加密过的

3. AD中添加superAdmin自定义属性

添加时需要具有Enterprise Admin和Schema Admin组的权限,另外需要在注册表中确认Update Schema Allowded是否设置为1

添加后需要重启AD服务,参考http://www.morgantechspace.com/2013/08/how-to-create-custom-attribute-in.html

4. 添加角色映射

参考https://www.spagoworld.org/jforum/posts/list/3600.page

 


Avatar_small
Anshika 说:
2021年3月20日 13:32
I recently found much useful information on your website especially this blog page. Among the lots of comments on your articles.
Thanks for sharing.
Avatar_small
Escorts service in G 说:
2021年5月02日 16:33

I needed to thank you for this fantastic read!! I unquestionably cherished each and every piece of it. I have you bookmarked your site to look at the new stuff you post.

Avatar_small
Delhi Escorts Servic 说:
2021年5月18日 18:55

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched.

Avatar_small
rasmika 说:
2021年7月06日 20:14

Great job for publishing such a beneficial website. Noida Escorts Escorts in Pari Chowk Dwarka Escorts Vaishali Escorts South Delhi Escorts South Delhi Escorts Your weblog isn’t only useful but it is additionally really creative too. This is a great feature for sharing this informative message.

Avatar_small
Saket Escorts Servic 说:
2021年7月17日 18:26

I discovered your blog website on google and test a few of your early posts. Continue to keep up the superb operation.
<a href="https://www.escortsindwarka.com/uttam-nagar-call-girls.html">Escorts in Uttam Nagar</a>
<a href="https://www.escortsindwarka.com/call-girlfriend-relationship.html">Call Girlfriends</a>

Avatar_small
Escorts in Aerocity 说:
2022年5月04日 19:41

This is such a great web page with such wonderful content. Russian Escorts in Aerocity || HiFi Call Girls || Click On the Link || Swedish Massage Service || Call Girls in Goa || Goa Escorts || Escorts in Aerocity Guys to make your day I have the best link here

Avatar_small
Escorts in Aerocity 说:
2022年5月04日 19:43
This is such a great web page with such wonderful content.
<a href="https://chennaiescort.blog.fc2.com/">HiFi Call Girls</a>
<a href="https://hotishaniroy.goat.me/">Read More</a>
<a href="https://swedishmassagehotstonemassagea.godaddysites.com/">Sexy Call Girls</a>
<a href="https://www.goaescort.net/">Goa Escorts</a>
<a href="https://www.trishagupta.org/">Goa Escorts Service</a>
<a href="https://6243ef2e8c96c.site123.me/"> Aerocity Escorts </a>
<a href="http://www.aerocityescorts.bloggersdelight.dk"> Russian Escorts in Aerocity </a>
<a href="http://www.aerocityescorts.bravesites.com/"> Escorts in Aerocity </a> 
Guys to make your day I have the best link here
Avatar_small
Anamika 说:
2022年6月25日 15:42

It absolutely depicts the article I like. <a href="https://www.thebangaloreescorts.in/">Bangalore Escorts</a> It is an especially careful page and the fashioner figures out the goliath region intrigue beating everything.

Avatar_small
Adam Carter 说:
2022年9月15日 13:27

You may now receive some excellent discounts on all of those things in order to obtain the best bargain. This is feasible using Zinus Coupon Codes, which are a variety of discounts and promotional offers that may help you acquire what you need while saving the most money.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter