Display target url - login.jsp

Kevin P. Foote kpfoote at iup.edu
Fri Dec 14 08:34:40 EST 2012


On Fri, 14 Dec 2012, daniel rahmeh wrote:

-> 
-> I'm looking for something like <%= SomeClass.getTargetUrl() %>

Not sure about getting at the actual target url but you can access the
entityId if you have your loginContext object. 


String resourceId=loginContext.getRelyingPartyId()

You can also use the idpui stuff which I have not converted over to using
just yet.. but that should be another way to get the entityId / RPid. The
idpui should be what is visible in the default login.jsp page.


------
thanks
  kevin.foote


More information about the users mailing list