cn.gtmap.estateplat.core.support.cas
类 CasService
java.lang.Object
cn.gtmap.estateplat.core.support.cas.CasService
@Service
public class CasService
- extends Object
- 版本:
- 1.0, 2016/10/18
- 作者:
- shenjian
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CasService
public CasService()
loginCas
public Boolean loginCas(String username,
String password)
throws IOException
- 参数:
username - 用户名password - 密码
- 返回:
- 是否成功
- 抛出:
IOException
loginOutCas
public void loginOutCas(String casLogoutUrl)
throws Exception
- 参数:
casLogoutUrl - cas登出地址
- 抛出:
Exception
doGetRequest
public byte[] doGetRequest(String url)
throws IOException
- 参数:
url - url地址
- 返回:
-
- 抛出:
IOException
doPostRequest
public byte[] doPostRequest(String url,
List<org.apache.http.NameValuePair> postParams)
throws IOException
- 参数:
url - 页面地址
- 返回:
-
- 抛出:
IOException
Copyright © 2015–2017 cn.gtmap. All rights reserved.