Tidying up, removing compiler warnings etc.

This commit is contained in:
Luke Taylor
2008-12-20 00:16:49 +00:00
parent 8154161ef5
commit cc5966bc7e
255 changed files with 3993 additions and 4444 deletions

View File

@@ -30,12 +30,12 @@ public class SecurityContextPortlet extends GenericPortlet {
out.println("<p>Current Session " + request.getPortletSession().getId() + "</p>");
out.println("</p>");
out.println("<p>The security context contains: " +
SecurityContextHolder.getContext().getAuthentication() +
"</p>");
SecurityContextHolder.getContext().getAuthentication() +
"</p>");
Object lastException = request.getPortletSession().getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY, PortletSession.APPLICATION_SCOPE);
if (lastException != null) {
out.println("Last Exception: " + lastException);
out.println("Last Exception: " + lastException);
}
}
}