首先我要推荐这几天找到的几篇文章:1.Create an ASP.NET MVC app with auth and SQL DB and deploy to Azure App Service我从这篇文章中获取到的知识主要是角色的添加方式。一开始我了解到的是特性[authorize]的作用:主要是...
分类:
Web程序 时间:
2015-09-10 01:58:13
阅读次数:
1051
package com.leegh.parameterization/** * @author Guohui Li */trait Logger { def log(msg: String) }trait Auth { auth: Logger => def act(msg: String) {.....
分类:
其他好文 时间:
2015-09-09 19:27:46
阅读次数:
113
配置nginx对salt-api的https转发,以下是nginx配置文件upstream saltapi.local { server 192.186.156.55:8090 weight=10 max_fails=2 fail_timeout=30s;}server ...
syslogd的配置文件是/etc/syslog.conf,这个配置文件记录了什么服务在什么等级下需要记录在哪里!!!服务:syslog本身设置了一些服务:syslog本身有一些服务,你可以通过这些服务来存储系统的信息auth:与认证相关的机制如sshloginsu等cron:与工作调度相关生成信息日志的地方d..
分类:
系统相关 时间:
2015-09-08 16:50:05
阅读次数:
245
<?php?
require_once?‘inc.php‘;
require_once?‘vendor/autoload.php‘;
//?引入鉴权类
use?Qiniu\Auth;
//?引入上传类
use?Qiniu\Storage\UploadManager;
//?需要填写你的?Access?Key?和?Secret?...
分类:
Web程序 时间:
2015-09-07 19:50:06
阅读次数:
202
导入联系人使用的脚本[root@nb0001itopPersonImport]#catimport.shphp/var/www/html/itop/webservices/import.php--auth_user=admin--auth_pwd=admin--class=Person--charset="UTF-8"--csvfile=person_okUtf8.csv--separator=","--reconciliationkeys="Email"csv样式参照[root@..
分类:
Web程序 时间:
2015-09-07 16:51:58
阅读次数:
232
五子棋V1.0 功能:人人对战,人机对战(初级)记录双方分数; 主要知识点: 二维坐标系中,各方向坐标的关系及规律。效果图: "传不了图片?"主框架类: 1 package com.gxlee.wzq; 2 3 /** 4 *五子棋 Java版 V1.0 5 *@auth...
分类:
编程语言 时间:
2015-09-06 12:35:59
阅读次数:
294
错误 1 Installing Visual Studio 2010 SP1 fails with Generic Trust Failure Installation did not succeed. Microsoft Visual Studio 2010 Service Pack 1 has....
分类:
其他好文 时间:
2015-09-03 01:53:22
阅读次数:
360
练练,标准认证的。VIEW中导入:from django.contrib.auth.models import UserTEMPLATE中可引用:列表 {{ user.username }}{{ user.first_name }}{{ user.last_name }}样子:
分类:
其他好文 时间:
2015-09-02 23:22:05
阅读次数:
187
//php<?include_once ("inc/auth.inc.php");$id = isset($_POST['app_id']) ? $_POST['app_id'] : '0';$query = "SELECT * FROM office_transhistory WHERE CYC....
分类:
Web程序 时间:
2015-09-02 18:51:51
阅读次数:
256