码迷,mamicode.com
首页 >  
搜索关键字:auth    ( 5609个结果
Django 中的用户认证
操作系统为OS X 10.9.2,Django为1.6.5. 1. authenticate() 用户认证。 views.py from django.contrib.auth import authenticateuser = authenticate(username=usernam...
分类:其他好文   时间:2014-08-10 15:39:00    阅读次数:315
IOS 读取本地的Json/plist 文件
一、一般本地可以存储轻量级数据存储 plist 这个主要是操作字典方法如下: NSString * sampleFile= [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"sections_auth=4.pli...
分类:移动开发   时间:2014-08-07 00:21:07    阅读次数:264
redis命令大全
操作相关的命令连接quit:关闭连接(connection)auth:简单密码认证持久化save:将数据同步保存到磁盘bgsave:将数据异步保存到磁盘lastsave:返回上次成功将数据保存到磁盘的Unix时戳shundown:将数据同步保存到磁盘,然后关闭服务远程服务控制info:提供服务器的信...
分类:其他好文   时间:2014-08-06 18:51:41    阅读次数:262
Linux Token Auth 一次性密码认证
Linux Token Auth 一次性密码认证 http://netkiller.github.io/journal/token.html Mr.?Neo Chen?(netkiller),?陈景峰(BG7NYT) 中国广东省深圳市龙华新区民治街道溪山美地 518131 +86?13113668890 +86?755?...
分类:系统相关   时间:2014-08-04 14:49:17    阅读次数:677
Spring Security笔记:自定义Login/Logout Filter、AuthenticationProvider、AuthenticationToken
在前面的学习中,配置文件中的...都是采用的auto-config="true"这种自动配置模式,根据Spring Security文档的说明:------------------auto-config Automatically registers a login form, BASIC auth...
分类:编程语言   时间:2014-08-03 17:56:05    阅读次数:562
2014年7月
textField:文本框,文本域。undock:移除。statistics:统计。config:配置。model:模型。auth:认证。decimal:十进制。hexadecimal:十六进制。octal:八进制。binary:二进制。warning=caution:警告。epsilon:极小值。...
分类:其他好文   时间:2014-08-02 05:01:35    阅读次数:248
Cacti 自动报表实现
需求:1、取cacti的图时不需要登陆(只对可访问用户开放),但其它操作时需要登陆。2、每天早上把报表发送到指定邮件需求1:file:/cacti/graph_p_w_picpath.php//include("./include/auth.php"); include("./include/global.php");品茶:首先去掉验证模块,发现少了涵数,再去au..
分类:其他好文   时间:2014-07-31 21:18:41    阅读次数:625
mongodb和python的datetime的差异
python中需要使用utc时间 mongo.exe命令 db.sms_ttl.ensureIndex({"createdAt":?1},?{expireAfterSeconds:?600}) pymongo操作 db.sms_ttl.insert({"createdAt":?datetime.utcnow(),?"type":?"sms-auth",?"...
分类:数据库   时间:2014-07-30 15:08:34    阅读次数:414
mac下删除svn账号
以mac os x为例(Unix/Linux类似),1、打开命令行窗口,即用户的根目录(用户的home目录)$ ls -aldrwxr-xr-x 6 linxyz staff 204 2 15 15:55 .subversion$cd .subversion/auth/$rm -r -f -d *如...
分类:其他好文   时间:2014-07-29 21:36:02    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!