context-security in jsp
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<sec:authorize access="isAnonymous()">
<a href="/login.do">로그인</a>
</sec:authorize>
<sec:authorize access="isAuthenticated()">
<sec:authentication var="mbrInfo" property="details.mbrInfo" />
Welcome Back,
${mbrInfo.mbrNm}
<a href="/logout.do">로그아웃</a>
</sec:authorize>
<security:http pattern="/css/**" security="none" />
security="none" not working
댓글 쓰기
0 댓글