IBM WebSphere DataPower Community Forum IBM Webspere DataPower XI50
September 05, 2010, 01:14:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IBM WebSphere DataPower SOA Appliance Forum - Just Launched come share your knowledge!!! These forums will be a great place to build a community. This site is not associated with IBM.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Setting up multiple domains for an user by using LDAP based RBM  (Read 1946 times)
skadakath
Newbie
*
Offline Offline

Posts: 5


View Profile Email
« on: April 07, 2008, 01:33:21 PM »

Hi,
I am trying to setup the domains and users for the Datapower device X150. We are using LDAP based RBM and xmlfile as the authentication. I tried  the following and it did not work:

<aaa:MapCredentials>   <aaa:InputCredential>uid=user1,ou=DP,DC=DP,DC=ORG</aaa:InputCredential>
   <aaa:OutputCredential>developers</aaa:OutputCredential>
</aaa:MapCredentials>


<aaa:MapCredentials>
   <aaa:InputCredential>dpdevelopers</aaa:InputCredential>
   <aaa:OutputCredential>*/Dev1/*?Access=r+w+a+d+x </aaa:OutputCredential>
   <aaa:OutputCredential>*/Dev2/*?Access=r+w+a+d+x </aaa:OutputCredential>
</aaa:MapCredentials>

I also tried the following and it did not work

<aaa:MapCredentials>   <aaa:InputCredential>uid=user1,ou=DP,DC=DP,DC=ORG</aaa:InputCredential>
   <aaa:OutputCredential>dpdevelopers1</aaa:OutputCredential>
</aaa:MapCredentials>
<aaa:MapCredentials>   <aaa:InputCredential>uid=user1,ou=DP,DC=DP,DC=ORG</aaa:InputCredential>
   <aaa:OutputCredential>dpdevelopers2</aaa:OutputCredential>
</aaa:MapCredentials>

<aaa:MapCredentials>
   <aaa:InputCredential>dpdevelopers1</aaa:InputCredential>
   <aaa:OutputCredential>*/Dev1/*?Access=r+w+a+d+x </aaa:OutputCredential>   
</aaa:MapCredentials>

<aaa:MapCredentials>
   <aaa:InputCredential>dpdevelopers2</aaa:InputCredential>
   <aaa:OutputCredential>*/Dev2/*?Access=r+w+a+d+x </aaa:OutputCredential>   
</aaa:MapCredentials>

 We need to have same developer accessing multiple domains. How do I do that?
Any help greatly appreciated...

Thanks in advance,
Suresh
Logged
LordB
Administrator
Jr. Member
*****
Offline Offline

Posts: 74


View Profile
« Reply #1 on: April 07, 2008, 01:44:10 PM »

To have multiple access rules you separate them by newlines... its non standard xml... so  it would look like this...

   <aaa:InputCredential>dpdevelopers</aaa:InputCredential>
   <aaa:OutputCredential>*/Dev1/*?Access=r+w+a+d+x
   */Dev2/*?Access=r+w+a+d+x </aaa:OutputCredential>


If you use the RBM editor on datapower it will do this for you...
Logged
skadakath
Newbie
*
Offline Offline

Posts: 5


View Profile Email
« Reply #2 on: April 07, 2008, 06:39:16 PM »

Thanks. It worked.
Logged
efern
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #3 on: November 12, 2009, 01:01:08 PM »

I tried the RBM Policy and it fails for me.

This is what i see in the log

 AZ: Input [&lt;?xml version="1.0" encoding="UTF-8"?> &lt;mapped-credentials type="stylesheet" au-success="false" url="webgui:///map/map-mc-local.xsl"/>&lt;mapped-resource type="stylesheet" url="webgui:///map/map-mr-request.xsl">&lt;operation type="get-samlart" xmlns:dp="http://www.datapower.com/schemas/management" xmlns:env="http://www.w3.org/2003/05/soap-envelope">&lt;domain>default&lt;/domain>&lt;user>errofer&lt;/user>&lt;password>xxxxxx&lt;/password>&lt;spnego/>&lt;cert>*No certificate provided*&lt;/cert>&lt;dn/>&lt;client>53.67.67.105&lt;/client>&lt;type>login/web-mgmt&lt;/type>&lt;/operation>&lt;/mapped-resource>&lt;au-ancillary-info/>&lt;az-ancillary-info/>]

12:42:01   rbm   info        47218   >        0x80000001   rbm (RBM-Settings): MR: Input [&lt;?xml version="1.0" encoding="UTF-8"?> &lt;resource>&lt;item type="xpath">&lt;operation type="get-samlart" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">&lt;domain>default&lt;/domain>&lt;user>errofer&lt;/user>&lt;password>xxxxxx&lt;/password>&lt;spnego/>&lt;cert>*No certificate provided*&lt;/cert>&lt;dn/>&lt;client>53.67.67.105&lt;/client>&lt;type>login/web-mgmt&lt;/type>&lt;/operation>&lt;/item>&lt;/resource>]

12:42:01   rbm   info        47218   >        0x80000001   rbm (RBM-Settings): MC: Input [&lt;?xml version="1.0" encoding="UTF-8"?> &lt;credentials>&lt;entry type="custom" url="webgui:///map/map-au-local.xsl"/>&lt;/credentials>]


Any ideas, I need help please
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Powered by SMF 1.1.10 | SMF © 2006-2007, Simple Machines LLC
This Site is not associated with IBM