|
Configuring your "jazn-data.xml" and "web.xml" files |
||||||||||
|
Windows
Native Authentication Next we need to 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". immediately under this opening tag line you need to paste the section from the wna.examples.txt sample file that relates to the "jazn-data.xml" file. In the text you pasted into this file you need to modify a few things. Wherever you see "$ORACLE_HOME" replace this 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 in this lesson. 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 this: 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. Watch a viewlet to see how its done.
In a text editor open the file: $ORACLE_HOME/j2ee/OC4J_SECURITY/applications/sso/web/WEB-INF/web.xml Immediately under the opening "web-app" tag line paste the section from the wna.examples.txt sample file that relates to the "web.xml" file. Save your changes and exit the file. |
||||||||||