Site Minder Weblogic Server Integration

In this article I will be providing the steps the install and configure Site Minder Policy Server to secure resources on Weblogic Server.You must have the necessary Site Minder Installers along with other prerequisites. nete-ps-6.0-win32.exe (Site Minder Policy Server) nete-wls81-asa-2.0-win32.exe (Site Minder Application Server Agent for WLS 8.1) nete-wa-6.0-win32.exe   (Site

Continue reading

LDAP Authentication on JBoss

The below post demonstrates a sample configuration of LDAP Server with JBoss Server Steps: 1. Install OpenDS Directory Server. 2. Import the following LDIF file *********************************** base.ldif dn: ou=People,dc=bea,dc=com objectclass: top objectclass: organizationalUnit ou: People dn: uid=faisal,ou=People,dc=bea,dc=com objectclass: top objectclass: uidObject objectclass: person uid: faisal cn: Java Duke sn: Duke

Continue reading

SSL Configuration with Jboss server

The below post describes the steps to configure SSL for your JBoss Server. Steps: 1:- Create a self signed certificate by using the keytool utility. a: Create a private key – public key pair. keytool –genkey –alias mykey –keypass password –keystore identity.jks –storepass password b: Self sign the certificate. keytool

Continue reading

Creating Virtual Hosts on JBoss

Create an application having the virtual host element in the jboss-web.xml present in the WEB-INF folder of the applicatio jboss-web.xml <?xml version="1.0"?> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd"> <jboss-web> <context-root>/VhostApp</context-root> <virtual-host>virtual.bea.com</virtual-host> </jboss-web> In the server.xml present in C:\JBoss\jboss-5.1.0.CR1\server\all\deploy\jbossweb.sar create a virtual host server.xml <Host name="virtual"> <Alias>virtual.bea.com</Alias> <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve" cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"

Continue reading

Creating a datasource on JBoss

Place the oracle database driver (ojdbc14.jar) in C:\JBoss\jboss-5.1.0.CR1\server\default\lib Create the datasource xml file and place it in C:\JBoss\jboss-5.1.0.CR1\server\default\deploy oracle-ds.xml <datasources> <local-tx-datasource> <jndi-name>OracleDS</jndi-name> <connection-url>jdbc:oracle:thin:@192.168.96.95:1521:orcl</connection-url> <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> <user-name>scott</user-name> <password>tiger</password> <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> <check-valid-connection-sql>select * from dual</check-valid-connection-sql> <metadata> <type-mapping>Oracle9i</type-mapping> </metadata> </local-tx-datasource> </datasources> Start the server run -c default Deploy the application that uses a datasrouce index.jsp

Continue reading