Monday, May 3, 2010
How to Develop Weblogic Custom Audit Provider
Following files are required for this sample tutorial:
SimpleSampleAuditProviderImpl : This is a sample runtime class implementing the AuditProvider and AuditChannel.
SimpleSampleAuditorImpl : This is a sample class that extends the ContextHandlerImpl class to get the supported ActiveContextHandlerEntries
SimpleSampleAuditor : This is a sample Audit configuration Mbean Configuration file used to instantiate the Custome Audit Provider Mbean Type.
We will be following the link give below:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/dvspisec/aud.html
Sunday, July 27, 2008
Configuring Commercial certificates on weblogic server
Following are the steps that are required to configure SSL.
************************************************************************
1. Open a new command prompt window and set the path to your domain directory.
2. Run setDomainEnv.cmd to set the environment.
Eg :-
Steps to create self sign certificates for weblogic server
Step 1: Create a public/private key pair in a JKS file name privatekey.jks file.
You can change the attribute name according to your requirement.
keytool -genkey -alias Sandeep -keyalg RSA -dname "CN=Singh, OU=gbs, O=bea, L=abc, ST=ind, C=in" -keypass keypass -storepass storepass -validity 999 -keystore C:bea92user_projectsdomainsBatch2EvalClient-certnewprivatekey.jks
Step 2: self signing the certificate
----------------------------------------
keytool -selfcert -v -alias Sandeep -keypass keypass -keystore C:bea92user_projectsdomainsBatch2EvalClient-certnewprivatekey.jks -storepass storepass -storetype jks
Step 3: Exporting the certificate from the keystore into a DER file.
--------------------------------------------------------------------------------
keytool -export -v -alias Sandeep -file rootca.der -keystore C:bea92user_projectsdomainsBatch2EvalClient-certnewprivatekey.jks -storepass storepass
Step 4: Creating a trust for the above certificate in trust.jks file
keytool -import -v -trustcacerts -alias Singh -file rootca.der -keystore C:bea92user_projectsdomainsBatch2EvalClient-certnewtrust.jks -storepass storepass