SharePoint used to have a menu option called "Sign in as Different User" in the top-right corner of every page. It was a handy tool for developers and IT professionals in SharePoint 2007 and 2010, which allowed them to login with another account…
习惯于SharePoint 2010的用户会发现,SharePoint 2013默认把  以其他用户身份登陆(Sign in as different user)的选项去掉了,这对于开发人员来说很麻烦,尤其是需要平凡切换用户来进行测试.幸运的是,修改相关的文件,就可把 以其他用户身份登陆(Sign in as different user)这个选项开启. 解决步骤 进入(C:\Program Files\Common Files\microsoft shared\Web Server Exten…
      Sharepoint2013中没有切换用户的菜单,每次登录后,浏览器就会记住密码.要重新换一个用户登录的时候,就需要把浏览器都关闭,然后重新启动.这样非常不方便.特别是在测试权限这一块的时候,经常需要切换用户.微软之所以把这个功能去掉,可能是因为有安全问题,浏览器缓存中有可能记录上次用户的一些信息,如果在当前页面切换用户,后面的用户可能还会看到上一个用户的一些信息.也有可能是和2013中的某些新功能有冲突,总之微软是把它去掉了,但是这个功能对开发人员来说,是很实用的.我们还得想办法把…
Time again to attempt to implement that exciting technology, Federation Services (Web Single Sign On, SAML, WS-Federation, or whatever you want to call it) with SharePoint. Last time we tried this, SharePoint 2010 was a baby product, MS was just test…
关于如何在非微软平台上建立高信任的SharePoint应用程序 原文 :http://blogs.msdn.com/b/kaevans/archive/2014/07/14/high-trust-sharepoint-apps-on-non-microsoft-platforms.aspx 1.前言   开篇明之,哥无代码发布,也不提供解决方案. 我只是说明在非微软技术平台上建立低信任或是高信任应用程序是非常自由的(PS:也是非常痛苦的). 作为一个微软技术的研发者,我也长时间没有写Java或是…
一.添加“SharePoint 2013 切换用户”标签 相比SharePoint 2010,SharePoint2013版本去掉了切换用户登陆的功能(如下图),其实这个可以通过改welcome.ascx控件来显示出来: 修改文件的位置,如下图: 文件位置 C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\\TEMPLATE\CONTROLTEMPLATES welcome.ascx截图 可能报错,这是因为添…
一个完整的流程,可参考网址 My First Sharepoint-Hosted App in 2013 部署第一个APP会遇到各种问题,可以参考网址 App development in SharePoint Issue1: "Error occurred in deployment step "Installed app for SharePoint": App management Shared Service proxy is not installed".…
博客地址 http://blog.csdn.net/foxdave 本篇提供两个查询串字典,分别对应Google和Bing的搜索,用来查询SharePoint网站的相关内容 Google SharePoint Diggity;;Administrative;;inurl:"/_layouts/AdminRecycleBin.aspx" SharePoint Diggity;;Administrative;;inurl:"/_layouts/bpcf.aspx" Sh…
//http://www.cnblogs.com/OceanEyes/p/custom-provider-in-sharepoint-2013-fba-authentication.html 由于项目的需要,登录SharePoint Application的用户将从一个统一平台中获取,而不是从Domain中获取,所以需要对SharePoint Application的身份验证(Claims Authentication Types)进行更改,即采用更加灵活的混合模式登录:Windows Auth…
//http://tech.ddvip.com/2014-05/1401197453210723.html 由于项目的需要,登录SharePoint Application的用户将从一个统一平台中获取,而不是从Domain中获取,所以需要对SharePoint Application的身份验证(Claims Authentication Types)进行更改,即采用更加灵活的混合模式登录:Windows Authentication和Forms Based Authentication.故本篇博…
前言 从SharePoint 2013开始,SharePoint就已经去掉了”Sign in as Different User”这个功能,也就是无法切换用户登录.当然,后来我们通过修改CONTROLTEMPLATES目录下的Welcome.ascx控件解决了这个问题. 但是,如果我们的机器已经加入到和SharePoint同一个AD域中,而且已经信任站点进行了自动登录,这个切换注销以后,依然可以自动登陆上去,我们还是无法进行用户切换,这里,我们就可以利用一下windows的一个小功能解决这一问题…
为了更好的同步 User Profile,在 SharePoint 2010 中首次引入了 FIM (ForeFront Identity Manager) 用于编辑 User Profile 的同期方式.在 SharePoint 2013 中,FIM 继承了 SharePoint 2010 的可以编辑同期的特点,并加入了一些 SharePoint GUI 上无法实现的功能.与 SharePoint 2010 & 2013 可以直接在界面上使用 SharePoint User Profile S…
由于项目的需要,登录SharePoint Application的用户将从一个统一平台中获取,而不是从Domain中获取,所以需要对SharePoint Application的身份验证(Claims Authentication Types)进行更改,即采用更加灵活的混合模式登录:Windows Authentication和Forms Based Authentication.故本篇博客将着重笔墨去介绍SharePoint 2013自定义Providers在基于表单的身份验(Forms-Ba…
接前一篇博客<SharePoint 2013自定义Providers在基于表单的身份验证(Forms-Based-Authentication)中的应用>,当实现混合模式登陆后,接着我们就应该自定义SignIn Page.因为默认的登陆页面实在是太丑了. 回顾 当为SharePoint 2013 WebApplication配置了以混合模式(FBA Authentication和Windows Authentication)登陆后,我们当然可以自定义登陆页面(Sign in Page).登陆S…
Creating a New Master Page in SharePoint 2013 This article explains how to create a Master Page in SharePoint 2013 from an existing HTML page with associated graphics, scripts, CSS files, etc.  This article is targeted primarily at designers who want…
Dynamics CRM中的Document Management功能需要Dynamics CRM与SharePoint进行集成,也就是实现在CRM中上传Document,实际上Document最终存储在了SharePoint Site中,同时在SharePoint中上传的数据在CRM中也可以进行查看.编辑等操作.要实现这种集成有两种方式,一种为使用List Component,一种使用server-based integration.微软建议除非没办法配置Server-based方式时使用Li…
为了更好的同步 User Profile,在 SharePoint 2010 中首次引入了 FIM (ForeFront Identity Manager) 用于编辑 User Profile 的同期方式.在 SharePoint 2013 中,FIM 继承了 SharePoint 2010 的可以编辑同期的特点,并加入了一些 SharePoint GUI 上无法实现的功能.与 SharePoint 2010 & 2013 可以直接在界面上使用 SharePoint User Profile S…
真机测试的时候弹出这样的提示:The certificate used to sign ***has either expired or has been revoked. An updated certificate is required to sign and install the application.... 想了想自己清理过本地的证书,于是参照 stackoverflow 上的方法试了下,果然好了.具体流程如下: Shift(⇧) + Command(⌘) + K 或者 Produ…
因为Xcode对ios版本的支持问题,我对XCode进行了一次升级,导致原来还好的项目代码出现了编译时错误. Code Sign Error failed with exit code 1 问题就在于这次的Xcode升级. 大神支招"分别进入工程目录与DerivedData目录,执行 xattr -rc " 解决. 实际上直接在项目根目录直接运行就行. 遇到问题  在此标记.…
前言 在app开放接口api的设计中,避免不了的就是安全性问题,因为大多数接口涉及到用户的个人信息以及一些敏感的数据,所以对这些接口需要进行身份的认证,那么这就需要用户提供一些信息,比如用户名密码等,但是为了安全起见让用户暴露的明文密码次数越少越好,我们一般在web项目中,大多数采用保存的session中,然后在存一份到cookie中,来保持用户的回话有效性.但是在app提供的开放接口中,后端服务器在用户登录后如何去验证和维护用户的登陆有效性呢,以下是参考项目中设计的解决方案,其原理和大多数开放…
现象:The identity used to sign the executable is no longer valid Please verify that your device’s clock is properly set, and that your signing certificate is not expired. your signing certificate is not expired.就是你的证书无效了,去“钥匙访问串”里把无效的证书删除后,重新安装一个有效的就可以…
0.微信连WiFi需要时间戳毫秒,但是PHP本身没有自带这个函数.但是相对来说,Java和js获取毫秒时间戳就比较方便. 既然PHP没有,那么就自己写一个获取毫秒时间戳的函数,否则就会失败.实在懒得写,那就拿来主义吧,哈哈. http://www.jb51.net/article/64178.htm <?php function getMillisecond() { list($t1, $t2) = explode(' ', microtime()); return (float)sprintf…
Code Sign error: Certificate identity 'iPhone Developer: idf (XR9HN3TD7E)' appears more than once in the keychain. The codesign tool requires there only be one. 原因是证书,下载安装重复了,找到安装证书的位置,删除一个就ok了. Code Sign Error: Provisioning Profile can't be found. 右…
E. Sign on Fence time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Bizon the Champion has recently finished painting his wood fence. The fence consists of a sequence of n panels of 1 meter w…
When I was studying Philosophy at Berkeley, a friend told me that she could tell who was going to be rich and who was not. Fascinating, I thought. But when I asked how, she refused to answer and only said that I would figure it out. So after 20 years…
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you are supposed to find the ones who have unlocked a…
经Edwin Chen的推荐,认识了scikit-learn这个非常强大的python机器学习工具包.这个帖子作为笔记.(其实都没有笔记的意义,因为他家文档做的太好了,不过还是为自己记记吧,为以后节省若干分钟).如果有幸此文被想用scikit-learn的你看见,也还是非常希望你去它们的主页看文档.主页中最值得关注的几个部分:User Guide几乎是machine learning的索引,各种方法如何使用都有,Reference是各个类的用法索引. S1. 导入数据 大多数数据的格式都是M个N…
1 Single Sign Out 功能 即单点登出功能.也就是在任意子系统进行登出操作后,其他子系统会自动登出. 实际CAS登出的步骤为 所以每个子系统都需要实现一个sso登出响应. cas-client-core包中有Single Sign Out的Session容器实现. 具体在包 org.jasig.cas.client.session 中. 2 实现Shiro的SSO登出功能 1 实现CasSecurityManager 主要目的是为了在登陆成功后保存 ST票据,并与 Shiro的se…
A :CentOS_Master B:Slave_1 C:Slave_2 普通用户hxsyl 1.现在A 上 ssh-keygen -t rsa 一路回车,不需要输入密码 执行该操作将在/home/hxsyl/.ssh下生成id_rsa, id_rsa.pub文件,其中id_rsa.pub是公钥 2.scp /home/hxsyl/.ssh/id_rsa.pub hxsyl@B:.ssh/authorized_keys 3.登陆时候 出现Agent admitted failure to sig…
在Xcode真机调试开发过程中,无论是使用个人证书或者是企业证书,经常会遇到这样的问题:The certificate used to sign "XXX" has either expired or has been revoked. An updated certificate is required to sign and install the application. 只需要将调试证书reset 一下即可.xcode - preference - 选中你的appleID -…