How do you get Gateways address from within an app sitting on PortaServer

Hi

Because applications on the sun one portal server have to handle Role Assertion (i.e. to validate that the user has given valid User Role Profile details that the application is aware of to access that application.)

what I want to do is redirect a user that has failed role assertion authentication back to the gateway login screen.

So how do I, in my JSP, get the gateway address?

I'm a bit new to all this.

[451 byte] By [CMS] at [2007-11-25 21:19:41]
# 1

Why don't you use the fully-qualified-domain-name (FQDN) of your GW and perform a re-direct to this ?

This should be known (and everytime the same), addtionally you won't have any problems if there's any load balancer in between or in fron of the GWs.

Secondly you'll have problems to get the IP -address if there's any proxy server involved.

/ulf

UlfFeger at 2007-7-4 23:41:43 > top of Java-index,Web & Directory Servers,Portal Servers...