➋
<li class="nav-item">
<sec:authorize access="isAuthenticated()">
<form:form action="${pageContext.request.contextPath}/logout" method="POST">
<input type="submit" class="btn btn-success" value="Logout"/>
</form:form>
</sec:authorize>
</li>
➌
<li class="nav-item">
<sec:authorize access="!isAuthenticated()">
<a class="nav-link" href="<c:url value="/login"/>">Login</a>
</sec:authorize>
</li>
</ul>
</div>
</div>
</nav>