| 构造器和说明 |
|---|
CasService() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
doGetRequest(String url) |
byte[] |
doPostRequest(String url,
List<org.apache.http.NameValuePair> postParams) |
Boolean |
loginCas(String username,
String password) |
Boolean |
loginCasByIdNo(String username,
String password,
String idNo) |
void |
loginOutCas(String casLogoutUrl) |
public Boolean loginCas(String username, String password) throws IOException
username - 用户名password - 密码IOExceptionpublic void loginOutCas(String casLogoutUrl) throws Exception
casLogoutUrl - cas登出地址Exceptionpublic byte[] doGetRequest(String url) throws IOException
url - url地址IOExceptionpublic byte[] doPostRequest(String url, List<org.apache.http.NameValuePair> postParams) throws IOException
url - 页面地址IOExceptionpublic Boolean loginCasByIdNo(String username, String password, String idNo) throws IOException
username - 用户名password - 密码idNo - 身份证号IOExceptionCopyright © 2015–2018 cn.gtmap. All rights reserved.