<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> Secure Page

Secure Page

This is a protected page. You can get to me if you've been remembered, or if you've authenticated this session.

You are a supervisor! You can therefore see the extremely secure page.

Properties obtained using <sec:authentication /> tag

TagValue
<sec:authentication property='name' />
<sec:authentication property='principal.username' />
<sec:authentication property='principal.enabled' />
<sec:authentication property='principal.accountNonLocked' />

Home