jsp - Waffle Principle username is Null -
my index.jsp <% if (request.getuserprincipal() != null) { %> user principal name <b><%= request.getuserprincipal().getname() %></b>.<br> email <b><%= secur32util.getusernameex(secur32.extended_name_format.nameuserprincipal) %></b>. <br><br> <% } else { %> no user principal identified. <br><br> <% } web.xml <?xml version="1.0" encoding="iso-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <filter> <filter-name>securityfilter</filter-name> <filter-class>waffle.servlet.negotiatesecurityfilter</filter-class&g