[java-identity-provider COMMIT] /trunk/idp-war/src/main/webapp/x509-prompt.jsp

noreply at shibboleth.net noreply at shibboleth.net
Tue Sep 16 20:58:16 EDT 2014


Author: scantor
Date: Tue Sep 16 20:58:15 2014
New Revision: 6537

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6537&view=rev
Log:
Add a null check.

Modified:
    trunk/idp-war/src/main/webapp/x509-prompt.jsp

Modified: trunk/idp-war/src/main/webapp/x509-prompt.jsp
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-war/src/main/webapp/x509-prompt.jsp?rev=6537&r1=6536&r2=6537&view=diff
==============================================================================
--- trunk/idp-war/src/main/webapp/x509-prompt.jsp (original)
+++ trunk/idp-war/src/main/webapp/x509-prompt.jsp Tue Sep 16 20:58:15 2014
@@ -26,7 +26,7 @@
 final AuthenticationContext authnContext = prc.getSubcontext(AuthenticationContext.class);
 final RelyingPartyContext rpContext = prc.getSubcontext(RelyingPartyContext.class);
 final RelyingPartyUIContext rpUIContext = authnContext.getSubcontext(RelyingPartyUIContext.class);
-final boolean identifiedRP = !rpContext.getRelyingPartyId().contains(rpUIContext.getServiceName());
+final boolean identifiedRP = rpUIContext != null && !rpContext.getRelyingPartyId().contains(rpUIContext.getServiceName());
 %>
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">



More information about the commits mailing list