IdPV3 login page access to AuthnRequest
Roehrl Patrick
patrick.roehrl at inet-logistics.com
Mon Jul 27 06:14:50 EDT 2015
Hello,
We're migrating to IdPV3 and we want to reuse our login.jsp from IdPV2.
In IdPV2 we used the following lines in the login.jsp to get the AssertionConsumerUrl:
StorageService<?, ?> storageService = HttpServletHelper.getStorageService(application);
LoginContext loginContext = HttpServletHelper.getLoginContext(storageService,application, request);
Saml2LoginContext saml2Context = (Saml2LoginContext)loginContext;
AuthnRequest authnRequest = saml2Context.getAuthenticiationRequestXmlObject();
String assertionConsumerUrl = authnRequest.getAssertionConsumerServiceURL();
Is this also possible in V3?
I took a look at the AuthenticationContext, ProfileRequestContext and so on, but I didn't find a way to get the AssertionConsumerUrl.
Thanks a lot for your help and time!
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150727/e3cb03d1/attachment-0001.html>
More information about the users
mailing list