在上一篇”使用OAuth打造webapi认证服务供自己的客户端使用“的文章中我们实现了一个采用了OAuth流程3-密码模式(resource owner password credentials)的WebApi服务端。今天我们来实现一个js+html版本的客户端。一、angular客户端angula...
前段时间项目中使用7-zip压缩生成EPUB文件(2.01),但通过EPUB-Checker.exe 软件检测发现mimetype 文件不是第一个归档文件,经过对比怀疑7z中有自己默认的归档顺序,遂改用 winrar.exe 进行压缩(项目采用C#编写,通过CMD执行压缩命令),压缩步骤为: ...
分类:
其他好文 时间:
2015-11-12 17:37:17
阅读次数:
234
一,题意: 给出一组字典的单词,以'#'结束,之后给出一组要执行模糊匹配的单词序列,以'#'结束 1,若某个单词能在字典中找到,则输出corret 2,若某个单词能通过 变换 或 删除 或 添加一个字符后,在字典中找得到,则输出这些单词,输出顺序根据输入的那部字典的字典序 3,若某个...
分类:
其他好文 时间:
2015-11-05 10:44:54
阅读次数:
257
Language Tool ,a plugin for TeXStudioTexStudiosupports LanguageTool as an inline grammar checker. Note that you need to configure TXS first, by usingO...
分类:
其他好文 时间:
2015-11-04 21:29:26
阅读次数:
244
适应范围采用Client Credentials方式,即应用公钥、密钥方式获取Access Token,适用于任何类型应用,但通过它所获取的Access Token只能用于访问与用户无关的Open API,并且需要开发者提前向开放平台申请,成功对接后方能使用。认证服务器不提供像用户数据这样的重要资源...
之前客户要求我们能够在windows登陆界面能够用指定账户批量控制机器登陆,然后用windows credentials provider(vista以上,xp需要用Gina)实现了这个功能,这期间遇到了一些问题:如果用户加入域之后,再重新进入登陆界面,就需要按安全序列也就是Alt Contrl ....
大概的信息就是提示让登陆github,然后就报错了Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limitThe credent...
分类:
其他好文 时间:
2015-10-19 07:09:08
阅读次数:
240
1、错误描述[ERROR:]2015-10-14 08:46:19,226 [Submitted credentials for token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] did not match the expected credentials.]
org.apache.shi...
分类:
其他好文 时间:
2015-10-17 19:13:59
阅读次数:
1264
the NTS option makes the Oracle client attempt to use your current Windows domain credentials to authenticate you with the Oracle server. This could f...
分类:
其他好文 时间:
2015-10-01 11:33:29
阅读次数:
235