xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡(jiǎn)介

內(nèi)含本人實(shí)例精華,一個(gè)自做PPT,動(dòng)畫(huà)解析cas協(xié)議,四個(gè)客戶(hù)端client程序?qū)嵗粋€(gè)server端程序,N個(gè)文檔以及所有xml文件。配套講解博客地址: [置頂] SSO單點(diǎn)登錄系列3:cas-server端配置認(rèn)證方式實(shí)踐(數(shù)據(jù)源+自定義java類(lèi)認(rèn)證) http://blog.csdn.net/ae6623/article/details/8851801 [置頂] SSO單點(diǎn)登錄系列2:cas客戶(hù)端和cas服務(wù)端交互原理動(dòng)畫(huà)圖解,cas協(xié)議終極分析 http://blog.csdn.net/ae6623/article/details/8848107 目 錄 1 引言 4 1.1 摘要 4 1.2 范圍 4 1.3 讀者對(duì)象 4 1.4 關(guān)鍵詞 4 2 技術(shù)背景 4 3 CAS單點(diǎn)登錄簡(jiǎn)介(針對(duì)實(shí)踐選擇的技術(shù)) 5 3.1 技術(shù)快速使用說(shuō)明 5 3.1.1 設(shè)置服務(wù)器域名 5 3.1.2 生成證書(shū)(這里采用JDK自帶的工具keytool) 5 3.1.3 為客戶(hù)端JVM導(dǎo)入證書(shū) 6 3.1.4 將證書(shū)應(yīng)用到Web服務(wù)器Tomcat 7 3.1.5 部署CAS服務(wù)器 7 3.1.6 深入配制CAS服務(wù)器 7 3.1.7 配制CAS客戶(hù)端 8 3.1.8 用到的jar包 8 3.1.9 CAS深入研究 8 4 開(kāi)發(fā)環(huán)境的配置 8 5 運(yùn)行環(huán)境的配置 9 6 結(jié)束語(yǔ) 9 7 參考文獻(xiàn) 9

資源截圖

代碼片段和文件信息

/**
?*?Project?Name:client2
?*?File?Name:Query.java
?*?Package?Name:servlet
?*?Date:2013-4-9下午04:22:22
?*?Copyright?(c)?2013?riambsoft?All?Rights?Reserved.
?*
?*/

package?servlet;

import?java.io.IOException;
import?java.io.PrintWriter;
import?java.util.ArrayList;
import?java.util.List;

import?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;

import?net.sf.json.JSONArray;

/**
?*?ClassName:Query?
?Function:?TODO?ADD?FUNCTION.?
?Reason:?TODO?ADD?REASON.?
?Date:?2013-4-9?下午04:22:22?

?*?
?*?@author?Administrator
?*?@version
?*?@since?JDK?1.5
?*?@see
?*/
public?class?Query?extends?HttpServlet?{

????/**
?????*?The?doGet?method?of?the?servlet.?

?????*?
?????*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?get.
?????*?
?????*?@param?request
?????*????????????the?request?send?by?the?client?to?the?server
?????*?@param?response
?????*????????????the?response?send?by?the?server?to?the?client
?????*?@throws?ServletException
?????*?????????????if?an?error?occurred
?????*?@throws?IOException
?????*?????????????if?an?error?occurred
?????*/
????public?void?doGet(HttpServletRequest?request?HttpServletResponse?response)?throws?ServletException?IOException?{

????????doPost(request?response);
????}

????/**
?????*?The?doPost?method?of?the?servlet.?

?????*?
?????*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?post.
?????*?
?????*?@param?request
?????*????????????the?request?send?by?the?client?to?the?server
?????*?@param?response
?????*????????????the?response?send?by?the?server?to?the?client
?????*?@throws?ServletException
?????*?????????????if?an?error?occurred
?????*?@throws?IOException
?????*?????????????if?an?error?occurred
?????*/
????public?void?doPost(HttpServletRequest?request?HttpServletResponse?response)?throws?ServletException?IOException?{

????????request.setCharacterEncoding(“utf-8“);
????????response.setContentType(“text/html;charset=utf-8“);
????????PrintWriter?out?=?response.getWriter();

????????String?action?=?request.getParameter(“action“);

????????List?users?=?new?ArrayList();
????????users.add(“1:劉振宇1“);
????????users.add(“2:劉振宇2“);
????????users.add(“3:劉振宇3“);

????????System.out.println(“進(jìn)入系統(tǒng),開(kāi)始傳輸數(shù)據(jù)“);
????????System.out.println(“users“?+?users);
???????//?JSONArray?arr?=?JSONArray.fromobject(users);

????????//System.out.println(“arr:“?+?arr);

????????//out.write(arr.toString());

????????out.write(“1“);
????????
????????out.flush();
????????out.close();
????}

}

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件???35588261??2013-04-26?10:55??程序\casServer.rar

?????文件????????362??2013-04-12?13:50??程序\client1\.classpath

?????文件????????294??2013-04-12?13:50??程序\client1\.mymetadata

?????文件???????1225??2013-04-12?13:54??程序\client1\.project

?????文件????????330??2013-04-12?13:50??程序\client1\.settings\org.eclipse.jdt.core.prefs

?????文件???????2129??2013-04-12?13:56??程序\client1\WebRoot\index.jsp

?????文件?????232651??2013-04-09?16:12??程序\client1\WebRoot\js\jquery-1.6.js

?????文件?????????39??2013-04-12?13:50??程序\client1\WebRoot\meta-INF\MANIFEST.MF

?????文件????????381??2013-04-12?13:50??程序\client1\WebRoot\WEB-INF\web.xml

?????文件????????752??2013-04-09?16:04??程序\client2\.classpath

?????文件????????294??2013-04-09?14:22??程序\client2\.mymetadata

?????文件???????1280??2011-05-18?15:32??程序\client2\.project

?????文件????????330??2011-05-18?15:22??程序\client2\.settings\org.eclipse.jdt.core.prefs

?????文件???????2771??2013-04-09?17:08??程序\client2\src\servlet\Query.java

?????文件???????1165??2013-04-09?16:21??程序\client2\src\servlet\UserServlet.java

?????文件???????3248??2013-04-25?09:45??程序\client2\WebRoot\index.jsp

?????文件?????232651??2013-04-09?16:12??程序\client2\WebRoot\js\jquery-1.6.js

?????文件?????????36??2011-05-18?15:22??程序\client2\WebRoot\meta-INF\MANIFEST.MF

?????文件???????1975??2013-04-25?20:10??程序\client2\WebRoot\WEB-INF\classes\servlet\Query.class

?????文件???????1864??2013-04-25?20:10??程序\client2\WebRoot\WEB-INF\classes\servlet\UserServlet.class

?????文件??????57798??2011-05-18?15:23??程序\client2\WebRoot\WEB-INF\lib\cas-client-core-3.1.3.jar

?????文件??????57444??2013-04-09?15:06??程序\client2\WebRoot\WEB-INF\lib\casclient.jar

?????文件??????52915??2011-05-19?13:36??程序\client2\WebRoot\WEB-INF\lib\commons-logging-1.1.jar

?????文件?????148490??2013-04-09?16:04??程序\client2\WebRoot\WEB-INF\lib\json-lib-2.2.3-jdk15.jar

?????文件????2949500??2011-05-23?09:51??程序\client2\WebRoot\WEB-INF\lib\spring.jar

?????文件???????2415??2013-04-16?10:06??程序\client2\WebRoot\WEB-INF\web.xml

?????文件???????1075??2013-04-11?11:25??程序\client3\.classpath

?????文件????????294??2013-04-09?14:22??程序\client3\.mymetadata

?????文件???????1280??2011-05-19?10:48??程序\client3\.project

?????文件????????330??2011-05-19?10:46??程序\client3\.settings\org.eclipse.jdt.core.prefs

............此處省略92個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源