[java-shib-idp2 COMMIT] in /branches/REL_2: doc/RELEASE-NOTES.txt src/main/java/edu/internet2/middleware/shibboleth/i...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Oct 10 19:55:32 BST 2011
Author: lajoie
Date: Mon Oct 10 19:55:32 2011
New Revision: 3076
URL: http://svn.shibboleth.net/view/java-shib-idp2?rev=3076&view=rev
Log:
Fix potential NPE - SIDP-508
Modified:
branches/REL_2/doc/RELEASE-NOTES.txt
branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java
Modified: branches/REL_2/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-shib-idp2/branches/REL_2/doc/RELEASE-NOTES.txt?rev=3076&r1=3075&r2=3076&view=diff
==============================================================================
--- branches/REL_2/doc/RELEASE-NOTES.txt (original)
+++ branches/REL_2/doc/RELEASE-NOTES.txt Mon Oct 10 19:55:32 2011
@@ -1,5 +1,6 @@
Changes in Release 2.3.4
=============================================
+[SIDP-508] - NullPointerException in AuthenticationEngine
[SIDP-510] - Error with stack trace when passive cannot be honored
[SIDP-511] - ExternalAuthnSystemLoginHandler does not support forceAuthn/isPassive
[SIDP-513] - idpui taglib could look for more languages matches
Modified: branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java
URL: http://svn.shibboleth.net/view/java-shib-idp2/branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java?rev=3076&r1=3075&r2=3076&view=diff
==============================================================================
--- branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java (original)
+++ branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java Mon Oct 10 19:55:32 2011
@@ -164,6 +164,11 @@
LOG.warn("No login context available, unable to return to profile handler");
forwardRequest("/error.jsp", httpRequest, httpResponse);
}
+
+ if (loginContext.getProfileHandlerURL() == null) {
+ LOG.warn("Login context did not contain a profile handler path, unable to return to profile handler");
+ forwardRequest("/error.jsp", httpRequest, httpResponse);
+ }
String profileUrl = HttpServletHelper.getContextRelativeUrl(httpRequest, loginContext.getProfileHandlerURL())
.buildURL();
More information about the commits
mailing list