1 Reply Latest reply on Sep 12, 2013 5:02 PM by 1026660

    please help: WebLogic + BI + Bi SQl Group Loader


      Hi all, i have big problem with solution on my company project. I please somebody help me.


      This is my problem:


      I have bifoundation_domain :


      WebLogic Server Version:

      EM 11g

      Oracle Business Intelligence


      with this structure:



      |- AdminServer

      |- bi_cluster

        |- bi_server1


      So and i need use Weblogic embedded LDAP (DefaultAuthenticator in realms security providers) and i need loading GROUPS from DATABASE. I read and tried a lot of articles, blogs, manuals but

      within positive result.


      My procedure is:


      In WLS console :


      - create jdbc datasource with name "bip_apps_DS"


      - create BI SQL Group provider (with name BIGroupLoader) with this settings

      <sec:authentication-provider xmlns:ext="http://xmlns.oracle.com/weblogic/security/extension" xsi:type="ext:bisql-group-providerType">
        <ext:sql-list-member-groups>SELECT ROLE_NAME FROM V_SYS_AUTH_ROLES WHERE LOGIN_NAME = ?</ext:sql-list-member-groups>
        <ext:sql-list-groups>SELECT NAME FROM UA_ROLES WHERE NAME LIKE ?</ext:sql-list-groups>
        <ext:sql-group-exists>SELECT NAME FROM UA_ROLES WHERE NAME = ?</ext:sql-group-exists>
        <ext:sql-is-member>SELECT LOGIN_NAME FROM V_SYS_AUTH_ROLES WHERE ROLE_NAME = ? AND LOGIN_NAME = ?</ext:sql-is-member>
        <ext:sql-get-group-description>SELECT DESCRIPTION FROM UA_ROLES WHERE NAME = ?</ext:sql-get-group-description>

      (my DB schema is correct)


      and i move him on first place in providers list.


      So after these steps in WLS console i see in security realm->groups my groups from DB. Everything is OK.


      Now i need use GROUPS from my database in EM in the context of create BI users roles (maping BI application roles on GROUPS (enterprise roles)).


      So i created a database adapter for the Virtualized Identity Store


      this is it:


      <?xml version = '1.0' encoding = 'UTF-8'?>
       <adapters schvers="303" version="1" xmlns="http://www.octetstring.com/schemas/Adapters" xmlns:adapters="http://www.w3.org/2001/XMLSchema-instance">
        <dataBase id="directoryType" version="0">
        <pluginChains xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins">
        <param name="ReplaceAttribute" value="uniqueMember={cn=%uniquemember%,ou=people,ou=myrealm,dc=bifoundation_domain}"/>
        <plugin name="VirtualAttribute"/>
        <objectClass name="groupofuniquenames" rdn="cn">
        <attribute ldap="cn" table="V_SYS_AUTH_ROLES" field="ROLE_NAME" type=""/>
        <attribute ldap="description" table="V_SYS_AUTH_ROLES" field="ROLE_NAME" type=""/>
        <attribute ldap="uniquemember" table="V_SYS_AUTH_ROLES" field="LOGIN_NAME" type=""/>

      and run command to register:


      ./libovdadapterconfig.sh -adapterName BIGroupLoader -adapterTemplate bi_sql_groups_adapter_template.xml

      -host localhost -port 7001 -userName weblogic -domainPath /OFM/BI/user_projects/domains/bifoundation_domain

      -dataStore DB -root ou=people,ou=myrealm,dc=bifoundation_domain -contextName default -dataSourceJNDIName bip_apps_DS


      Adapter is creatted successfully within errors!


      I restarted managed server(bi_server1) and AdminServer, all bi commponets etc. BUT WITHOUT RESULT. I still dont see GROUPS in Enterprise manager in

      BI->coreapplication->security->application roles


      I tried set in security setting of webLogic domain in EM virtualize=true.

      This procedure is described on all sites but not funkcionaly for me. Do you know somebody where is mistake? Etc. need i installing OVD server? I dont know. Please helm me.


        • 1. Re: please help: WebLogic + BI + Bi SQl Group Loader



          You will not be able to see groups that you have defined in database in EM. To assign a database group to a role in EM go to BI->coreapplication->security->application roles & search for groups locate Advance Option at the bottom and check the box "Check to enter principal name here instead of searching from above. This option can be used for advanced scenarios related to custom authenticators". Now select Groups under Type and enter the name (exactly same) of the database group manually. Now you should be able to assign database groups to users authenticated through weblogic embedded LDAP.