Sunday, November 18, 2012

OID 11G: orclMemberof Attribute and how it can improve wls performance


From OID11G and WLS perspective, I want to share with you guys this: Someone asked me thru Oracle Forum last week, I helped him and now I am doing this post to help you:
It’s particular difficult to calculate all of user’s membership in OID(or any LDAP).
1) I did (below) one example into my ldap, search with results for a specific user where I request and receive the value(s) of orclMemberOf.
Note: U will also notice that nested memberships are returned multiple times, once for each group that the user belongs to that is a member of another given group.
So, just be aware of that.
LDAP command line:
[oracle@thiagoleoncioserver bin]$ ./ldapsearch -h thiagoserver.example.com -p 3060 -D cn=orcladmin -w thiagopwd -b “cn=Users,dc=thiagoleoncioserver,dc=oracle,dc=com” -L -s sub -v “uid=thiago.leoncio” memberOf
And expected results:
ldap_open( thiagoserver.example.com , 3060 )
filter pattern: uid=thiago.leoncio
returning: memberOf
filter is: (uid=thiago.leoncio)
dn: uid=thiago.leoncio,cn=users,dc=thiagoleoncioserver,dc=oracle,dc=com
memberof: cn=administrators,cn=groups,dc=example,dc=com
memberof: cn=oaamenvadmingroup,cn=groups,dc=example,dc=com
memberof: cn=groupofgroups,cn=groups,dc=example,dc=com
2)And from performance perspective:
orclMemberOf attribute can speed up authentication into WebLogic and SOA when you have WebLogic’s security framework, by adding it into ‘User Dynamic Group DN attribute’ on authenticator configurations.
I hope this helps,
Thiago Leoncio.

Saturday, November 3, 2012

[Oracle Forms] How to run/Install IE8 on Windows 7

Hello everyone,

   Doing the Oracle Forms development and getting stuck with the issues that IE9, 10 and 11 bring on Active-X requirements for Oracle Forms, I decided to write this article only for helping others to no waste time trying to install directly IE8 on Windows 7.

The easiest and the way that really works is this:


  • Whatever IE version that you have above IE8 is not default in Windows 7. That means if you downgrade the current IE you are going to get the default one - IE8.



  • So thinking about that to go to the places that most of the sites ask you to go:


  1. Control Panel --> Program and Features --> Turn Windows features on or off --> Uncheck the IE version that you have. This procedure simply don't work because you will not find the IE8 files to install on Windows 7.



  • The way that works is:
  1. Go to Control Panel --> Program and Features 
  2. Select View Installed Updates and this will show you this screen below with a lot of patches and upgrades applied.
  3. Then once you find the current version of IE you have installed - select it and then click Uninstall.
  4. This will ask you to restart your computer.
  5. Once you are back to your Windows 7, click in IE and finally you should see the IE8!!!!




I hope it helps you during your forms(PL-SQL) development. Happy Coding.
Thiago Leoncio.