平時積累下來的一點知識——Apr11th2007

 回答:證書中"簽名算法"和"微縮圖算法"有什麼區別?java

證書中「簽名算法」是指:上級CA(根CA上級CA是指本身)頒發證書時,對證書待簽名數據進行簽名的算法。例如簽名算法sha1RSA,是先對主題(用戶)證書的待簽名數據,進行sha1運算,而後在用上級CA私鑰進行RSA加密運算;
理解微縮圖算法,先要理解微縮圖是什麼意思。微縮圖是微軟本身提出來的一個概念。和證書rfc標準沒有任何關係。微縮圖是對整個證書進行hash運算,生成一段數據,這一段數據就是所謂的微縮圖數據。在windows下就是微軟的證書工具最後面兩個屬性(用微軟證書查看工具,一看就會發現爲微縮圖算法、微縮圖)。微縮圖算法指對整個證書進行hash運算時,所採用的數學運算算法。好比sha1或者md5。請你們不要迷惑了。
王保明拋磚於2006/12/26.web

僵屍網絡(bot network)」由那些被遠程控制、但全部者並不知情的計算機構成,主要用於發送垃圾郵件或執行其它惡意活動。正則表達式

在eclipse中快速地import類,的快捷鍵:Ctrl+Shit+O算法

java.util.regex是一個用於處理 正則表達式 的頗有用的一個類!!編程

向Eclipse中自動導入選定的類:Ctrl+Shift+Owindows


//----------
X表明你想插入的頁碼
一、將鼠標定位在第X-1頁的最後一個字符後
二、選擇「插入-〉分隔符」;在「分節符類型」選項中,選中「下一頁」;按「肯定」
三、將鼠標定位到第X頁
四、選擇「插入-〉頁碼」;將「首頁顯示頁碼」勾上(由於頁面默認是「首頁不一樣」)
五、按「格式」鍵;勾點「起始頁碼」,選擇「1」
「將第X頁設爲第1頁的問題」就解決了;但還要執行下面這一步
六、雙擊第X頁的頁腳,出現「頁眉和頁腳」工具圖標,同時頁腳區域會顯示「與上一節相同」的提示(若是沒有此提示,下面的步驟就不用執行了)
七、點擊「頁眉和頁腳」工具圖標中「連接到前一個」按鍵後,頁腳區域顯示的「與上一節相同」的提示消失;
八、點擊「頁眉和頁腳」工具圖標中「關閉」按鍵;至此就ok了
對第X-1頁及以前頁無頁碼的處理:
雙擊第X-1頁的頁腳,將顯示頁腳數字的欄位刪掉便可安全


Hewlett-Packard :HP 惠普服務器

IMAP (Internet Message Access Potocol) 是一種用於郵箱訪問的協議,使用IMAP協議能夠在Client端管理 Server上的郵箱,它與pop不一樣,郵件是保留在服務器上而不是download到本地,在這一點上IMAP是與Webmail類似的。但IMAP有比Webmail更好的地方,它比webmail更高效和安全,能夠離線閱讀等等,若是想試試能夠用Outlook Express,只要配好一個賬號,將個人郵件接收服務器設置爲IMAP服務器就能夠了。cookie

經過CVS登陸到CAS的網站CVS的server上,下載源代碼
cvs -d :pserver:anonymous@developer.ja-sig.org:/home/cvs/jasig login      
cvs -z3 -d :pserver:anonymous@developer.ja-sig.org:/home/cvs/jasig co cas3網絡

step1
經過工具欄中的Admin->login對話框輸入相應的登陸數據

step2
經過工具欄中的Admin->command line輸入命令:
cvs -z3 -d :pserver:anonymous@developer.ja-sig.org:/home/cvs/jasig co cas3

Finished


mumbo-jumbo
(M- J- 是非洲某些部落的巫醫)
n.繁文縟節

Bernie zimmermann 在blog上對uri與url的區別的解釋:

"URI stands for Universal Resource Identifier and URL stands for Universal Resource Locator. Often times people use the terms interchangably, which is not entirely correct. A URL is a subset of the URI popular protocols. These are protocols (http://, ftp://, mailto:). Therefore all URLs are URIs. The term URL is deprecated and the more correct term URI is used in technical documentation. All URIs are means to access a resource on the Internet and are a a technical short hand used to link to the resource. URIs always designate a method to access the resource and designate the specific resource to be accessed."

So...my terminology is apparently way out-dated and I need to start saying "URI" instead of "URL." Why? Because anything that has been deprecated is bad news (remember the evil <blink> tag?). Now I know, and knowing is half the battle.

finished

^  異或。      相同爲0,相異爲1;   任何數與0異或都等於原值。


private Map<String, UniqueTicketIdGenerator> :
jdk5中引入的功能:
定義了一個Map類型而且規定該Map中只能存 String,UniqueTicketIdGenerator兩種類的對象!!

花旗集團旗下花旗軟件公司職位要求
Java Senior Software Engineer
發佈日期: 3小時以前
工做地點: 上海
招收人數: 3
要求學歷: 其餘
薪酬待遇: 面議
工做部門: 
職位描述: -To analyze requirements, write design or program specifications
-To code Java/J2EE applications to implement product features
-Communicate and work closely with peer developers
-Guide and support junior developers
職位要求: -BS/MS degree in Computer Science or equivalent
-About 2 – 5 years experience of software development, experience in supervising a development team is an advantage
-Good command of speaking and writing English
-Be skilled at Core Java or J2EE technologies
-Be good at Object Oriented Analysis and Design, Design Patterns, familiar with UML
-Be skilled at Oracle/Sybase DBMS development is required
-Be familiar with Unix environment and command
-Experience in Struts and Tiles is a plus
-Experience in software test is a plus
-Strong responsibility and flexibility under work pressure
-TOEIC - Certificate holders highly preferred
 
institutional
 
adj.
制度上的

CAS中的delegateTicketGrantingTicket???

CAS中的
Service-Oriented Architecture,面向服務架構,SOA是一種架構模型,它能夠根據需求經過網絡對鬆散耦合的粗粒度應用組件進行分佈式部署、組合和使用。服務層是SOA的基礎,能夠直接被應用調用,從而有效控制系統中與軟件代理互聯網紓的人爲依賴性。SOA的幾個關鍵特性:一種粗粒度、鬆耦合服務架構,服務之間經過簡單、精肯定義適配器進行通信,不涉及底層編程適配器和通信模型。


Camtasia Studio 是一款功能強大的視頻處理軟件,提供從屏幕錄製、視頻編輯到視頻輸出整套工具。輸出格式包括 Flash、AVI、MOV、RM、GIF 動畫等多種常見格式,是製做視頻演示的絕佳工具。

<filter>
        <filter-name>CASFilter</filter-name>
        <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
        <init-param>
           <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
           <param-value>https://localhost:443/cas/login</param-value>
        </init-param>
        <init-param>
           <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
           <param-value>https://localhost:443/cas/proxyValidate</param-value>
        </init-param>
        <init-param>
          <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
          <param-value>localhost:443</param-value>
        </init-param>
    </filter>
   
    <filter-mapping>
        <filter-name>CASFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

若是給服務器頒發的證書是lcoalhost:9443的話,從https://lcoalhost:9443/訪問的話也會提示「該網站的數字證書有問題」。若是服務器的數字證書是
localhost的話,不管從哪一個端口訪問都不會提示錯誤。

cas中相似於ticket之類的object都要是Serializable的。because:
 These objects must be Serializable, because the Tickets and everything they reference may need to be checkpointed to disk or shared with multiple machines in a clustering configuration


chain off
vt.用測鏈測


comment out 

對程序的源碼和軟件的設定文件等進行修改時,並不是馬上消除想要消除的內容,而是進行comment化,使其暫時不運行的操做。

處理源碼和設定文件的編譯等程序中,可以用特殊的記法使指定的部分不被解釋,讓使用方法和註釋包含在文件中。利用這個功能,能夠嘗試性地讓想要消除的部分comment化。想讓comment化的內容恢復到原狀時,只需把comment記法的部分解除就能夠馬上恢復到原來的狀態。

CAS:
<li><code>edu.yale.its.tp.cas.client.filter.wrapRequest</code>:
 *   wrap the <code>HttpServletRequest</code> object, overriding the
 *   <code>getRemoteUser()</code> method.  When set to "true",
 *   <code>request.getRemoteUser()</code> will return the username of the
 *   currently logged-in CAS user.  (Optional.  If nothing is specified,
 *   this defaults to false.)</li>
 * </ul>
 *
 * <p>The logged-in username is set in the session attribute defined by
 * the value of <code>CAS_FILTER_USER</code> and may be accessed from within
 * your application either by setting <code>wrapRequest</code> and calling
 * <code>request.getRemoteUser()</code>, or by calling
 * <code>session.getAttribute(CASFilter.CAS_FILTER_USER)</code>.</p>

 

Tiger,

>After authentication, a CASReceipt object was created and stored into session.
>in any other http requests during the session, how can we know exactly where it is from?

>

I'm not sure I understand what you're asking.

The CASReceipt is intended to expose a JavaBean properties all the
information about the CAS authentication that your application could
plausibly use to translate into authentication appropriate to your
application (session attributes, REMOTE_USER field, ThreadLocal,
encrypted cookie -- whatever it is that your application was going to do
to model the authenticated user).

Are you asking how you know that it is the CAS Client that placed the
CASReceipt into the session? I guess the answer to that is that you
don't. Code with access to the HttpSession needs to be trusted within
your application.

Hope this helps,

Andrew


一直就不知道load-on-startup的具體含意是什麼,在google上找了一些解釋, 說法各類各樣,最後俺仍是搬來了Servlet specification, 裏面的內容絕對準確,呵呵....

The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an integer indicating the order in which the servlet should be loaded. If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses.  If the value is a positive integer or 0, the container must load and initialize the servlet as the application is deployed. The container must guarantee that servlets marked with lower integers are loaded before servlets marked with higher integers. The container may choose the order of loading of servlets with the same load-on-start-up value.