平时积累下来的一点知识——Apr11th2007

 回答:证书中"签名算法"和"微缩图算法"有什么区别?

证书中“签名算法”是指:上级CA(根CA上级CA是指自己)颁发证书时,对证书待签名数据进行签名的算法。例如签名算法sha1RSA,是先对主题(用户)证书的待签名数据,进行sha1运算,然后在用上级CA私钥进行RSA加密运算;
理解微缩图算法,先要理解微缩图是什么意思。微缩图是微软自己提出来的一个概念。和证书rfc标准没有任何关系。微缩图是对整个证书进行hash运算,生成一段数据,这一段数据就是所谓的微缩图数据。在windows下就是微软的证书工具最后面两个属性(用微软证书查看工具,一看就会发现为微缩图算法、微缩图)。微缩图算法指对整个证书进行hash运算时,所采用的数学运算算法。比如sha1或者md5。请大家不要迷惑了。
王保明抛砖于2006/12/26.

僵尸网络(bot network)”由那些被远程控制、但所有者并不知情的计算机构成,主要用于发送垃圾邮件或执行其它恶意活动。

在eclipse中快速地import类,的快捷键:Ctrl+Shit+O

java.util.regex是一个用于处理 正则表达式 的很有用的一个类!!

向Eclipse中自动导入选定的类:Ctrl+Shift+O


//----------
X代表你想插入的页码
1、将鼠标定位在第X-1页的最后一个字符后
2、选择“插入-〉分隔符”;在“分节符类型”选项中,选中“下一页”;按“确定”
3、将鼠标定位到第X页
4、选择“插入-〉页码”;将“首页显示页码”勾上(因为页面默认是“首页不同”)
5、按“格式”键;勾点“起始页码”,选择“1”
“将第X页设为第1页的问题”就解决了;但还要执行下面这一步
6、双击第X页的页脚,出现“页眉和页脚”工具图标,同时页脚区域会显示“与上一节相同”的提示(如果没有此提示,下面的步骤就不用执行了)
7、点击“页眉和页脚”工具图标中“链接到前一个”按键后,页脚区域显示的“与上一节相同”的提示消失;
8、点击“页眉和页脚”工具图标中“关闭”按键;至此就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服务器就可以了。

通过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.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值