AW: IdPV3 login page access to AuthnRequest
Tom Zeller
tzeller at dragonacea.biz
Tue Jul 28 10:34:23 EDT 2015
On Tue, Jul 28, 2015 at 8:32 AM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> I don't think what you're doing makes a lot of sense, but be that as it
> may, the ACS endpoint information can be found in a complex context tree
> located under profileRequestContext.getOutboundMessageContext()
>
> I don't have the complete tree handy to my mind, and it's not documented
> at this point.
Maybe something like this, although it uses getInBoundMessageContext() :
<%@ page import="org.opensaml.profile.context.ProfileRequestContext" %>
<%
Object URL = "MyDefaultURL";
final ProfileRequestContext prc = (ProfileRequestContext)
request.getAttribute(ProfileRequestContext.BINDING_KEY);
final Object message = prc.getInboundMessageContext().getMessage();
if (message instanceof org.opensaml.saml.saml2.core.AuthnRequest) {
URL = ((org.opensaml.saml.saml2.core.AuthnRequest)
message).getAssertionConsumerServiceURL();
}%>
URL : <%= URL %>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150728/5a1eaf55/attachment.html>
More information about the users
mailing list