---
title: "Spring security 3退出登录（非CAS控制）"
author: "andy_ghg"
date: "2011-06-09T01:00:03Z"
tags: ["Security", "Spring", "XML"]
categories: ["企业架构"]
slug: "spring-security-3-cas"
draft: false
lastmod: "2011-06-09T01:00:03Z"
id: 1073709
url: "https://andy-ghg.iteye.com/blog/1073709"
---

在HTTP标签中加入以下配置即可： \[code="xml"] \[/code] 其中logout-url类似CAS的XXXX/cas/logout，参数不是固定的，可以是任意的，例如你可以写成“/项目名/exit”等等，在需要退出的地方请求这个地址即可完成退出登陆。 后面的参数就是退出后转向到哪里去，不多解释。