Spring Security允许开发人员轻松地将安全功能集成到J2EE Web应用程序中,它通过Servlet过滤器实现“用户自定义”安全检查。在本教程中,我们将向您展示如何在Spring MVC中集成Spring Security 3.0并安全访问。在集成成功后,当我们查看页面的内容时用户需要先...
分类:
编程语言 时间:
2014-06-28 18:10:01
阅读次数:
277
Setting up Nutch 2.1 with MySQL to handle UTF-8
分类:
数据库 时间:
2014-06-28 16:00:45
阅读次数:
363
/** * @version 2.0 * @author sharks*//** * Instruction * this version will use IO * apply file to store data * it just a table double click table ca.....
分类:
其他好文 时间:
2014-06-28 14:05:29
阅读次数:
300
package other;import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;/** MD5 算法*/public class MD5 { // 全局数组 private final s....
分类:
编程语言 时间:
2014-06-28 13:10:47
阅读次数:
248
有时我们需要在调用一个方法前加判断,比如当前用户是否有权限来调用此方法。常规做法在NET中是自己做一个Attribute来完成,不过在4.5中有System.Security.Permissions.PrincipalPermissionAttribute可以协助我们,用的是System.Secur...
分类:
其他好文 时间:
2014-06-23 06:15:19
阅读次数:
189
首先看Android 4.x 系统的证书存放位置:
AOSP Android系统中CA证书文件的位置在:/ system/etc/security/cacerts/一系列的以数字命名的.0文件
方法一:
Android 4.0 已经支持用户安装根证书了,只需要将根证书放到sdcard根目录,然后到设置(Settings) – 安全(Security) – 从存储设备安装(In...
分类:
移动开发 时间:
2014-06-21 22:26:00
阅读次数:
405
As an introduction this chapter is aimed at readers who are familiar with the Web, HTTP, and Apache, but are not security experts. It is not intended ...
分类:
其他好文 时间:
2014-06-21 15:08:28
阅读次数:
259
上次讲解Android的蓝牙基本用法,这次讲得深入些,探讨下蓝牙方面的隐藏API。用过Android系统设置(Setting)的人都知道蓝牙搜索之后可以建立配对和解除配对,但是这两项功能的函数没有在SDK中给出,那么如何去使用这两项功能呢?本文利用JAVA的反射机制去调用这两项功能对应的函数:cre...
分类:
移动开发 时间:
2014-06-20 23:14:40
阅读次数:
332
来自:http://cn.cocos2d-x.org/article/index?type=cocos2d-x&url=/doc/cocos2d-x-ch/manual/framework/native/v2/getting-started/setting-up-development-enviro...
分类:
其他好文 时间:
2014-06-20 19:07:37
阅读次数:
196
eclipse Server 没有成功启动Eclipse3.x中热部署项目[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server...
分类:
系统相关 时间:
2014-06-20 18:52:10
阅读次数:
285