%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
Welcome
Home Page
Anyone can view this page.
You are currently authenticated
- HttpServletRequest.getRemoteUser()
- HttpServletRequest.getUserPrincipal()
- Authentication
-
">HttpServletRequest.authenticate(HttpServletResponse)
- if you are authenticated already will simply return true. Otherwise, will redirect you to the log in page configured in your Spring Security configuration.
-
">AsyncContext.start(Runnable)
- will automatically transfer the current SecurityContext to the new Thread
- ">HttpServletRequest.logout()
- ">Fill out log in form - allows the user to invoke HttpServletRequest.login(String,String)