Absent Member.
Absent Member.
357 views

AG protect resource URLs in customized login page


Situation:
A proxy (www.proxy.url) with the following protected resources
\site1
\site2
\site3

On each site is a unique user registration form and this form needs to
be reached unauthenticated, let say:
\site1\registration.aspx
\site2\registration.aspx
\site2\registration.aspx

On my customized login page I want to link to the registration form, but
my question is, how can I configure this link that the requested url is
in it.
So:
If the user is coming from www.proxy.url\site1 the link needs to be
www.proxy.url\site1\registration.aspx
If the user is coming from www.proxy.url\site2 the link needs to be
www.proxy.url\site2\registration.aspx
If the user is coming from www.proxy.url\site3 the link needs to be
www.proxy.url\site3\registration.aspx


--
gschouten32
------------------------------------------------------------------------
gschouten32's Profile: https://forums.netiq.com/member.php?userid=2546
View this thread: https://forums.netiq.com/showthread.php?t=53296

0 Likes
2 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

gschouten32 wrote:

>
> We are using 3.1 SP5 (with extended support).
> There also a upgrade path going to the latest version.


I just built a 3.1 Sp5 idp and LAG and added this code on the login.jsp

<b>Target contains: <%=target%></b><br/>
<%if(target.equals("http://www1.site.com/")) {
%><b>You are accessing www1</b><br/><%
}%>
<%if(target.equals("http://www2.site.com/")) {
%><b>You are accessing www2</b><br/><%
}%>

I had 2 proxies (www1 and www2) and i can get that displayed on my
login page...

--
Cheers,
Edward
0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class


thanks, great.
I going to try your suggestion and let you know the results.


--
gschouten32
------------------------------------------------------------------------
gschouten32's Profile: https://forums.netiq.com/member.php?userid=2546
View this thread: https://forums.netiq.com/showthread.php?t=53296

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.