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

Thursday, September 09, 2010

How to install Webgate on Apache 2.2 6h-bit ?

Download webgate installer from

http://download.oracle.com/otn/linux/ias/101401/oam_int_linux_v8_cd1.zip

Login with putty on the server:
su - root

mkdir -p $WEBGATE_HOME/gcc

cp /lib64/libgcc_s.so.1 /appl/oracle/access_10.1.4/gcc/
cp /usr/lib64/libstdc++.so.5 /appl/oracle/access_10.1.4/gcc/

unzip oam_int_linux_v8_cd1.zip

./Oracle_Access_Manager10_1_4_2_3_linux64_APACHE22_WebGate

Wednesday, August 04, 2010

How to Setup RAC database Adapter in OVD ?

Select Custom URL then

-> Select Database : Oracle Thin or OCI

-> Driver name

-> URL
if it is oci then replace with oci else remove <> .

jdbc:oracle::@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=ankit1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=ankit2)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mydb)(FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))

Thursday, January 07, 2010

How to Increase ADAM PageSize ?

Go To C:\WINDOWS\ADAM>dsmgmt
dsmgmt: LDAP Policies

ldap policy: connections

server connections: set creds [domain] [user] *

Please enter password for [domain]\[user]: ********
server connections: connect to server localhost:389
Binding to localhost:389 as [domain]\[user]...
Connected to localhost:389 as [domain]\[user].
server connections: quit
ldap policy: show values

Policy Current(New)

MaxPoolThreads 4
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 5000
MaxConnIdleTime 900
MaxPageSize 1000
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MaxNotificationPerConn 5
MaxValRange 0

ldap policy: set maxpagesize to 10000
ldap policy: commit changes
ldap policy: