安全性的真正用途是什麼:spring安全配置中的http元素。它僅適用於Web應用程序嗎?安全:http在spring安全配置?
請參見下面的代碼:如果你能
<security:http use-expressions="true">
<security:intercept-url pattern="/client/**"
access="isAuthenticated()" />
<security:intercept-url pattern="/**" access="permitAll" />
<security:form-login></security:form-login>
<security:logout />
<security:remember-me />
<security:session-management
invalid-session-url="/timeout.jsp">
<security:concurrency-control
max-sessions="1" error-if-maximum-exceeded="true" />
</security:session-management>
</security:http>
解釋。