jwilleke Trusted Contributor.
Trusted Contributor.
389 views

Re: Authorization Policy - Redirection with query string

Just to clarify, as of version 3.1. SP4, can a URL be evaluated to
determine if the URL contains a specific Parameter?

So looking at:
if URL = https://revproxy.abc.com/xyz/protectedapp?id=001

Can we redirect based on the value of id=001 in the URL?

--

Thank You for your help!

-jim
Jim Willeke

0 Likes
5 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Authorization Policy - Redirection with query string

Jim Willeke wrote:

> Just to clarify, as of version 3.1. SP4, can a URL be evaluated to
> determine if the URL contains a specific Parameter?
>
> So looking at:
> if URL = https://revproxy.abc.com/xyz/protectedapp?id=001
>
> Can we redirect based on the value of id=001 in the URL?


I just tried in a lab and I can't get it to work. I tried url encoding
the question mark but no joy either so unless i'm doing it work I don't
think query string parameters can be used to do authorization on
unfortunately.

--
Cheers,
Edward
0 Likes
jwilleke Trusted Contributor.
Trusted Contributor.

Re: Authorization Policy - Redirection with query string

That is waht I found also.

Sure seems like Regex on the URL should work, but i could not get that
to ork either.

--

Thank You for your help!

-jim
Jim Willeke

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Authorization Policy - Redirection with query string

Jim Willeke wrote:

> That is waht I found also.
>
> Sure seems like Regex on the URL should work, but i could not get
> that to ork either.


I think because Novell/NetIQ decided to use the question mark as a
special character it causes the problem that anything on the query
string can't be queried for (if this makes sense)

--
Cheers,
Edward
0 Likes
jwilleke Trusted Contributor.
Trusted Contributor.

Re: Authorization Policy - Redirection with query string

On 2012-08-01 12:17:12 +0000, Edward van der Maas said:

> Jim Willeke wrote:
>
>> That is waht I found also.
>>
>> Sure seems like Regex on the URL should work, but i could not get
>> that to ork either.

>
> I think because Novell/NetIQ decided to use the question mark as a
> special character it causes the problem that anything on the query
> string can't be queried for (if this makes sense)


Well, the idea as to why they did not support it makes sense, but as
not being able to support such such an activity, it still makes no
sense.
Sounds like a technical issue.
The problem could of course be solved by writing a class to gather the
query parameters and it seems like such a basic function for a device
such as NAM, that it should be "in there".


--

Thank You for your help!

-jim
Jim Willeke

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Authorization Policy - Redirection with query string

Jim Willeke wrote:

> On 2012-08-01 12:17:12 +0000, Edward van der Maas said:
>
> > Jim Willeke wrote:
> >
> > > That is waht I found also.
> > >
> > > Sure seems like Regex on the URL should work, but i could not get
> > > that to ork either.

> >
> > I think because Novell/NetIQ decided to use the question mark as a
> > special character it causes the problem that anything on the query
> > string can't be queried for (if this makes sense)

>
> Well, the idea as to why they did not support it makes sense, but as
> not being able to support such such an activity, it still makes no
> sense. Sounds like a technical issue. The problem could of course
> be solved by writing a class to gather the query parameters and it
> seems like such a basic function for a device such as NAM, that it
> should be "in there".


https://secure-www.novell.com/rms/ 😉



--
Cheers,
Edward
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.