Monday, October 15, 2012

fix authorization response issue in 11.1.1.5 or later ?

Issue : you set some custom header and cookies on authorization response for a application ,but when you login , authentication works ,but application fails since it doesn't get the header / cookie.

Reason : the issue is oam-config.xml file If you have SSOOnlyMode set to true then it won't invoke the authorization module.

true


Solution : 

To fix the issue , you need to do the following .

  • Shutdown all the managed server and admin server.
  • Backup oam-config.xml
  • Modify the file Domain_home/config/fmwconfig/oam-config.xml.
false
  •  Start all the servers.
  •   Verify using tester tool if it is showing the headers / cookies set correctly.

Friday, July 20, 2012

How to patch apache


Apache setup

1, download apche source from apache.org

2. tar xvfz httpd-2.0.64.tar.gz

3, cd httpd-2.0.64

4. now copy config.nice from   /apps/oracle/product/apache-2.0/build/config.nice to httpd-2.0.64
   to enable SSL , please add ssl to the enable-modele i.e --enable-modules=rewrite proxy proxy_http maintainer-mode so deflate ssl
   ./config.nice
   make
   make install
 
5. shutdown and restart apache server
/apps/oracle/ stopproduct/apache-2.0/bin/apachectl stop
       /apps/oracle / stopproduct/apache-2.0/bin/apachectl start

Wednesday, July 11, 2012

How to Convert ldap timestamp to AD timestamp ( pwdLastSet etc..)

My time , you may find yourself in situation where you need to run query to find how may user have changed their password before or after specific time i.e. AD and AD LDS uses pwdLastSet field
(ldap timestamp +11644473600) *  10000000  = AD timestamp . Same way divided by  10000000 and then subtract   11644473600 .

To get the Epoh timestamp  , use this http://www.onlineconversion.com/unix_time.htm 

Wednesday, March 07, 2012

Great Deal on Oracle Books

Check out excellent Oracle books on http://www.packtpub.com/news/hit-the-oracle-packtpot and my Favorite are :

http://www.packtpub.com/oracle-identity-and-access-manager-11g-for-administrators/book
http://www.packtpub.com/oracle-application-integration-architecture-foundation-pack-11gr1-essentials/book