|
Edit the jazn-data.xml
and web.xml
files.
In a text editor open the file:
$ORACLE_HOME/j2ee/OC4J_SECURITY/config/jazn-data.xml
In this file search for the opening tag jazn-loginconfig.
Copy and paste the following content:
<application>
<name>com.sun.security.jgss.accept</name>
<login-modules>
<login-module>
<class>com.sun.security.auth.module.Krb5LoginModule</class>
<control-flag>required</control-flag>
<options>
<option>
<name>debug</name>
<value>true</value>
</option>
<option>
<name>addAllRoles</name>
<value>true</value>
</option>
<option>
<name>useKeyTab</name>
<value>true</value>
</option>
<option>
<name>keyTab</name>
<value>$ORACLE_HOME/j2ee/OC4J_SECURITY/config/sso.keytab</value>
</option>
<option>
<name>principal</name>
<value>HTTP@$SSO_MIDTIER_HOST_NAME</value>
</option>
<option>
<name>doNotPrompt</name>
<value>true</value>
</option>
<option>
<name>storeKey</name>
<value>true</value>
</option>
</options>
</login-module>
</login-modules>
</application>
In the text you pasted into the jazn-data.xml
file you need to modify the following:
Replace $ORACLE_HOME
with the actual directory path to your Oracle Home.
In this same text you will see a value of sso.keytab.
Replace this value with the name of the keytab file you generated earlier.
The keytab file is located in your $ORACLE_HOME/j2ee/OC4J_SECURITY/config
directory.
Next you need to make a modification the the principal value.
Change HTTP@$SSO_MIDTIER_HOST_NAME
to read like this:
HTTP/aspen.us.oracle.com
where aspen.us.oracle.com
is the FQDN of the machine that is running the SSO server.
Save your changes and exit the file.


|