Posts by 黑子
Java Active Directory 登陆
0背景:在公司写的一个东西一直没有加入用户相关的部分(只给出了一个账号,所有人都用它),最近一版添加的功能说是数据比较Critical,然后说必须添加用户系统。呃,没有SSO。。。公司的权限系统是基于Windows ActiveDirectory的,那就去找AD拿数据了。这个和SSO的区别在于:
SSO:用户访问站点A,重定向去认证服务器,认证完成再返回站点A。
这个:用户访问站点A,站点A要求用户名密码,拿着这个去找AD认证。
最重要的不同点在于,系统是否有持有过用户的密码,呃,这个比较让一些人感到讨厌。
相同点在于不需要知道、保存密码,维护站内的权限系统。
在网上搜索spring active directory,搜到的结果基本上都是拿spring的LDAP去实现、管理AD的各种功能,需要配置神马LDAP里的各种参数(DN、CN、DC⋯⋯)。还看到了manager-dn,就感到各种不对,我不应该搜出这类型的。
想了会后换了关键词搜索:spring active directory without manage,于是找到了这篇文章。
http://www.david-robson.co.uk/?p=139
征得作者同意,将此文翻译为中文。 (更多…)
没准儿您会对以下内容感兴趣:
以图观史-欧洲百年-1945-2011
0A history of Europe in pictures: 1900-1945
A history of Europe in pictures: 1945-2011
本想跟原作者说一下要翻译这个帖子,但是他把评论关闭了
I suppose to tell the author that I want to translate these two posts, but the comments are closed..
后半部分的翻译,自己发挥的地方比前半部分多了。
1945-2011
Part two of our photographic history of Europe takes us from the aftermath of the second world war, through the economic boom and political revolutions to the emergence of a new, unified continent
这是以图观欧洲史的第二部分,我们看看从二战的余波中恢复,经历经济繁荣,80年代政治风波后的全新的、统一的欧罗巴。
没准儿您会对以下内容感兴趣:
登录12306的一个简单方法
0网上有流传一些方法,但一看就是技术人员才有能力操作的,不好。
这里写一篇适合大多数人的,如果文章里有一些东西你还不懂怎么操作的话,那大概属于超级小白了,我不是你老师,没义务图文并茂的教你。
1、调出你浏览器的书签栏(IE里叫收藏夹?)
2、把下一行的连接用鼠标选中,拖到书签栏里面
登录铁道部
如果这个让你感到费解,那么可以看一下这个:http://www.douban.com/service/bookmarklet。如果还不懂。。。那么你就是我说的超级小白了,你还是自救吧,别人救不了你
3、打开12306网站,用这个地址https://dynamic.12306.cn/otsweb/main.jsp (更多…)
没准儿您会对以下内容感兴趣:
以图观史-欧洲百年-1900-1945
0原文地址:
A history of Europe in pictures: 1900-1945
A history of Europe in pictures: 1945-2011
本想跟原作者说一下要翻译这个帖子,但是他把评论关闭了
I suppose to tell the author that I want to translate these two posts, but the comments are closed..
有两篇,这是第一篇
1900-1945
The first decades of the 20th century saw a sea change in European politics and culture, while two world wars altered the shape of the continent for ever
欧洲20世纪的前几十年,我们看到了欧洲政治、文化的巨变,两次世界大战永远的改变的欧罗巴的形态。
没准儿您会对以下内容感兴趣:
PHP FedEx shipping rates calculator
0First of all, you need to register an account, after register, open https://www.fedex.com/wpor/web/jsp/drclinks.jsp?links=wss/develop.html to obtain test key.
And I strongly recommend you goto https://www.fedex.com/wpor/web/jsp/drclinks.jsp?links=wss/getstarted.html and download some resources, include code archive and documentation.
After decompress the archive, you may find the wsdl file named RateService_v10.wsdl
for development env, you should edit this file, find a line contains https, it maybe
https://gateway.fedex.com:443/web-services/rate
change [gateway] to [wsbeta]!
https://wsbeta.fedex.com:443/web-services/rate