Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
7.1.x, 7.0.x
-
Committed
-
AS | Iteration 1, AS | Iteration 2, AS | Iteration 3, AS | Iteration 4, AS | Iteration 5, AS | Iteration 6
Description
Changes to apply as solution:
- Add a version selector on OpenSSO configuration settings
- Add a ServiceTracker logic to get the correct implementation selected by user
- Implement a service request to the new OpenAM 13 endpoint that validates the authentication (json/sessions/TOKEN_ID?_action=validate, "application/json" type)
Steps to configure and test OpenAM 12:
- Download OpenAM 12
- Copy WAR file to the portal tomcat/webapps and wait for deployment
- Go to http://localhost:8080/OpenAM-12.0.0/ and finish installation/create configuration
- Sign in and create user account
- Go to Access Control -> Top Level Realm -> Subjects -> New
- Fill everything and edit the created user to set an email
- Go back and click on Configuration
- Select Servers and Sites and enter in localhost server
- Go to Security, in the Cookie section, select the "Yes" checkbox beside "Encode Cookie Value"
- Sign out of OpenAM
- Sign in to Liferay
- Go to Instance Settings -> Authentication -> OpenSSO and select OpenAM 12 on version field
- Set login URL: http://localhost:8080/OpenAM-12.0.0/UI/Login?goto=http://localhost:8080/c/portal/login
- Set logout URL: http://localhost:8080/OpenAM-12.0.0/UI/Logout?goto=http://localhost:8080/web/guest/home
- Set service URL: http://localhost:8080/OpenAM-12.0.0
- Set "cn" as "First Name Attribute"
- Save
- Enable OpenSSO and Save
- Sign out or use another browser / incognito mode
- Go to http://localhost:8080/c/portal/login
- Sign to OpenAM as the created user/password
Steps to configure and test OpenAM 13:
- Download OpenAM 13
- Copy WAR file to the portal tomcat/webapps and wait for deployment
- Go to http://localhost:8080/OpenAM-13.0.0/ and finish installation/create configuration
- Sign in and create user account
- Go to Top Level Realm -> Subjects -> New
- Fill everything and edit the created user to set an email
- Go back to OpenAM Console
- Click on Configuration (top of the page)
- Go to Server and Sites
- Go to Security, in the Cookie section, select the "Yes" checkbox beside "Encode Cookie Value"
- Sign out of OpenAM
- Sign in to Liferay
- Go to Instance Settings -> Authentication -> OpenSSO and select OpenAM 12 on version field
- Set login URL: http://localhost:8080/OpenAM-13.0.0/UI/Login?goto=http://localhost:8080/c/portal/login
- Set logout URL: http://localhost:8080/OpenAM-13.0.0/UI/Logout?goto=http://localhost:8080/web/guest/home
- Set service URL: http://localhost:8080/OpenAM-13.0.0
- Set "cn" as "First Name Attribute"
- Save
- Enable OpenSSO and Save
- Sign out or use another browser / incognito mode
- Go to http://localhost:8080/c/portal/login
- Sign to OpenAM as the created user/password
Attachments
Issue Links
- demands
-
LRDOCS-5842 Documentation: Update OpenAM Single Sign On Authentication
-
- Closed
-
- is related to
-
LPS-84194 Support OpenAM major release: OpenAM 13
-
- Closed
-
- relates
-
LPS-85268 OpenAM 13 documentation
-
- Closed
-