2013年2月19日
摘要: 我们当时是根据sessionId生成的一个token值,放入表单中。生成方法如下:---------------------------------------- private static SecureRandom secureRandom=null; public static String createToken() { if(secureRandom==null){ String entoropy="LogonSessionEntoropy" + System.currentTimeMillis(); try { secureRandom = SecureRand 阅读全文
posted @ 2013-02-19 15:58 在大地画满窗子 阅读(587) 评论(0) 推荐(0) 编辑