[java-idp-testbed COMMIT] in /trunk/src/main/webapp/WEB-INF/idp/jsp: error.jsp login.jsp

noreply at shibboleth.net noreply at shibboleth.net
Sat Apr 19 15:52:18 EDT 2014


Author: scantor
Date: Sat Apr 19 15:52:18 2014
New Revision: 188

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=188&view=rev
Log:
Change to encoder class.

Modified:
    trunk/src/main/webapp/WEB-INF/idp/jsp/error.jsp
    trunk/src/main/webapp/WEB-INF/idp/jsp/login.jsp

Modified: trunk/src/main/webapp/WEB-INF/idp/jsp/error.jsp
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/webapp/WEB-INF/idp/jsp/error.jsp?rev=188&r1=187&r2=188&view=diff
==============================================================================
--- trunk/src/main/webapp/WEB-INF/idp/jsp/error.jsp (original)
+++ trunk/src/main/webapp/WEB-INF/idp/jsp/error.jsp Sat Apr 19 15:52:18 2014
@@ -1,10 +1,10 @@
 <%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.opensaml.profile.context.ErrorEventContext" %>
-<%@ page import="org.owasp.esapi.Encoder" %>
+<%@ page import="net.shibboleth.utilities.java.support.encoder.HTMLEncoder" %>
 
 <%
-Encoder encoder = (Encoder) request.getAttribute("encoder");
+HTMLEncoder encoder = (HTMLEncoder) request.getAttribute("encoder");
 ErrorEventContext errorEventContext = (ErrorEventContext) request.getAttribute("errorEventContext");
 %>
 

Modified: trunk/src/main/webapp/WEB-INF/idp/jsp/login.jsp
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/webapp/WEB-INF/idp/jsp/login.jsp?rev=188&r1=187&r2=188&view=diff
==============================================================================
--- trunk/src/main/webapp/WEB-INF/idp/jsp/login.jsp (original)
+++ trunk/src/main/webapp/WEB-INF/idp/jsp/login.jsp Sat Apr 19 15:52:18 2014
@@ -2,10 +2,10 @@
 
 <%@ page import="net.shibboleth.idp.authn.context.*" %>
 <%@ page import="org.opensaml.profile.context.ProfileRequestContext" %>
-<%@ page import="org.owasp.esapi.Encoder" %>
+<%@ page import="net.shibboleth.utilities.java.support.encoder.HTMLEncoder" %>
 
 <%
-Encoder encoder = (Encoder) request.getAttribute("encoder");
+HTMLEncoder encoder = (HTMLEncoder) request.getAttribute("encoder");
 AuthenticationErrorContext authenticationErrorContext = (AuthenticationErrorContext) request.getAttribute("authenticationErrorContext");
 AuthenticationWarningContext authenticationWarningContext = (AuthenticationWarningContext) request.getAttribute("authenticationWarningContext");
 %>



More information about the commits mailing list