先贴一部分代码 CString strHttpName="http://localhost/TestReg/RegForm.aspx"; // 需要提交数据的页面 CString strFormData = "username=abc&password=123"; // 需要提交的数据 ...
分类:
Web程序 时间:
2015-01-28 00:41:11
阅读次数:
175
// 定义结构体type TmyRec= record name:string[10]; password:string[10]; end;function RawToBytes(const AValue; const ASize: Integer): TBytes;begin S...
分类:
其他好文 时间:
2015-01-27 21:30:58
阅读次数:
156
上篇博客介绍的CAS的Demo,登录界面用户名、密码并没有通过数据库查询认证。本博客,将介绍如何通过xml配置,进行CAS登录数据库查询认证。
所需数据库sso_cas,库中的表:tb_user,表中字段:Id、username、password;
数据库查询认证(通过xml配置)
1,修改cas服务端配置
tomcat下webapps/cas/WEB_INF...
分类:
数据库 时间:
2015-01-27 16:18:42
阅读次数:
373
# mysql -uroot -pEnter password:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)使用网上介绍的方法修改root用户的密码:# mysqladmin -u...
分类:
数据库 时间:
2015-01-27 10:39:11
阅读次数:
190
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入require_once 'includes/password.inc';echo user_hash_password('111111');die();运行,得到加密的密文,然后upda...
分类:
其他好文 时间:
2015-01-27 00:10:38
阅读次数:
183
centos上:第一步:在qq邮箱设置-->账户中开启pop3/smtp服务,并设置独立密码第二步:yuminstall-ymailx第三步:vim/etc/mail.rc在文件最后添加你的邮箱信息:setfrom=82312924@qq.comsetsmtp=smtp.qq.comsetsmtp-auth-user=82312924setsmtp-auth-password=Yourpasswordsetsm..
分类:
系统相关 时间:
2015-01-26 19:30:04
阅读次数:
261
请求参数phonestring手机号passwordstring密码grant_typestring固定为"password"scopestring可选项client_idstring客户端 idclient_infostring客户端设备信息,统计使用返回参数access_tokenstring....
分类:
移动开发 时间:
2015-01-26 19:07:27
阅读次数:
149
Oracle建立表空间和用户 建立表空间和用户的步骤:用户建立:create user username identified by "password";授权:grant create session to username; grant create tabl...
分类:
数据库 时间:
2015-01-26 16:42:30
阅读次数:
218
$(document).ready(function() { $.ajax({ url : "/AjaxAction/LoginArea.ashx", data : {username:user,password:pwd}, type : "POST"...
分类:
Web程序 时间:
2015-01-26 15:00:03
阅读次数:
138
1,通过jdk自带的keytool生成.keystore文件执行下面的命令:
/usr/bin/keytool -genkey -alias xiaomaodan -keyalg RSA -validity 36500执行上面的命令后需要输入相关的证书信息
Enter keystore password:
Re-enter new password:
What is your first...
分类:
其他好文 时间:
2015-01-26 13:45:20
阅读次数:
177