Overview
The purpose of this tutorial is to walk you through the single sign-on configuration of Oracle Agile PLM with Access Gateway.
Add Agile ID Asserter
Follow these steps to add the Agile ID asserter.
-
Log in to the WebLogic console
-
Click Security Realms > AgileRealm > Providers.
-
Click Lock & Edit.
-
Click New, and enter or select the following values.
-
Name: AgileIdentityAsserter
-
Type: Agile Identity Asserter
-
Click OK.
-
Click AgileIdentityAsserter.
-
Move the remote-user Active Type from Available to Chosen by selecting it and clicking the right arrow icon.
-
Click Save.
-
Click the Providers tab.
-
Click DefaultAuthenticator.
-
Set Control Flag to Sufficient, and click Save.
-
Click the Providers tab.
-
Click AgileIdentityAsserter.
-
Click ProviderSpecific, and disable the OAMSDKInstall Dir option.
-
Click the Providers tab, and click Reorder.
-
Select AgileAuthenticator, and move it to the top of the list.
-
Select AgileIdentityAsserter, and move it below the AgileAuthenticator row.
-
Click OK.
-
Click Activate Changes.
-
Stop the managed server.
Apply SSO to Agile Server
Follow these steps to apply SSO to XMLP server.
-
Log in to the Agile Server console as the oracle user.
-
Navigate to
<Agile Home>/agileDomain/config
, and open agile.properties for editing. -
Add the following lines to the end of the file:
-
oam.header.name=remote-user
-
oam.sso.logout.url=/spgwLogout
-
Modify the web.xml file located at
<Agile Home>/agileDomain/applications/application.ear/application.war/WEB-INF/web.xml
. -
Create a backup of the current application.ear file.
-
Change
<auth-method>FORM</auth-method>
to<auth-method>client-cert,form</auth-method>
. -
Clear the server tmp folder at
<Agile Home>/agileDomain/servers/<Agile Server>/tmp
. -
Repeat steps 1 through 5 for all managed servers.
Redeploy Agile PLM Application
-
Log in to the WebLogic console.
-
Click Deployments.
-
Select the Agile option, and click Update.
-
Verify the Source Path value is the same as the path of the .ear file from step 4 in the section above.
-
Click Finish.
-
Start the managed server.
Add Agile PLM Application to Access Gateway
-
Log in to the Access Gateway Admin Console.
-
Click Applications > Add > Header Based > Create.
-
Enter the following settings for the application:
-
Essentials
-
Label: A name that the end users will recognize in Okta, such as Agile PLM.
-
Public Domain: The URL you want the users to visit for the application, such as agile.gateway.info.
-
Protected Web Resource: Hostname/IP and port that the application is hosted on. Ensure you end this value with a forward slash, such as https://ol6-agile.localdomain:7001/.
-
Groups: The group that you want to assign the app to in the Identity Provider.
-
Advanced
-
Post Login URL: The URL to the endpoint where you want the user to land after login. In this case, we want the user to land on /Agile. (Example based on previous example values: https://agile.gateway.info/Agile).
-
Behaviors
-
Ensure the Use Access Gateway logout page option is selected in the Logout menu.
-
Click Next, and modify the existing header to include the following information:
-
Data Source: IdP
-
Type: Header
-
Name: remote-user
-
Value: Attribute being passed from IdP for the user’s username.
-
Click Next > Done.