Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
ValueOps ConnectALL Product Community
View Only
Community Home
Threads
7
Library
0
Blogs
0
Events
1
Members
33
Tech Tip – How to customize landing page for different user based on user attribute
By
Ujwol
posted
May 30, 2018 12:40 AM
4
Recommend
USE CASE :
If the value of the userattribute “businessCategory” is YES, redirect the user to “/home/manager.html ” after authentication.
If the value of the userattribute “buesinessCategory” is not YES, redirect the user to “/home/engineer.html” after authentication.
INSTRUCTIONS :
Create
Realm
for /home/ with the following three
Rules
:
OnAuthAccept_Manager
OnAuthAccept_Engineer
GetPost
Create a
Variable
“IsManager” of type
UserContext
and configure to read the user property “businessCategory”
Create a
Response
“ManagerHome” and add
Response Attribute
of type “
WebAgent-OnAccept-Redirect
” to redirect to static URL “/home/manager.html”
Create a
Response
“EngineerHome” and add
Response Attribute
of type “
WebAgent-OnAccept-Redirect
” to redirect to static URL “/home/engineer.html”
Create a GetPost
Policy
to authorize all users access to “/home/*”
Create an OnAuthAccept_Manager
Policy
which compares the value of the variable “IsManager” to be “Yes” and then redirects to the ManagerHome Response.
Create an OnAuthAccept_Engineer
Policy
which compares the value of the variable “IsManager” to be not equal to “Yes” and then redirects to the EngineerHome Response.
TESTING :
Login as a user with value of the userattribute businessCategory=YES
Login as a user with value of the userattribute businessCategory=NO
0 comments
2 views
Copyright 2019. All rights reserved.
Powered by Higher Logic