草庐IT

wcf-authentication

全部标签

php - Symfony2 : Invalid CSRF token while remember me authentication

我有一个用Symfony2.8.11和FosUserBundle2.0.0-beta1编写的应用程序。用户可以通过VPN或基本身份验证连接到站点。他们大多在Windows7上使用InternetExplorer11。他们中的一些人在站点内以随机形式遇到无效的CSRFtoken问题。问题是用户无法提交表单,即使刷新几次页面也是如此。我怀疑是session不断刷新导致的问题,从日志看:{"created":1483610056,"lastUsed":1483610056}["csrf","session_times"][]另外,我怀疑是remembermetoken认证导致的(每个issu

php - Silex SecurityServiceProvider 抛出 'Identifier "security.authentication_providers“未定义。”

我不知道如何在Silex中使用SecurityServiceProvider。我的配置是:$app['security.firewalls']=array('admin'=>array('pattern'=>'^/_admin/.+','form'=>array('login_path'=>'/_admin/','check_path'=>'/_admin/login_check'),'logout'=>array('logout_path'=>'/_admin/logout'),'users'=>array('admin'=>array('ROLE_ADMIN','5FZ2Z8QIk

C#Protobuf WCF

我想用WCF测试Protobuf。我使用ProtobufAttirbutes配置了我的服务和客户端,并在App-Config中添加了扩展名,并告诉服务和客户端使用Protobufbehavior,现在我想检查客户端发送给服务的内容(列表OB类人)。如果没有Protobuf,客户端将将XML样式对象列表发送到服务。但是,Protobuf更紧凑。问题是,当我研究它(使用提琴手/Wireshark)时,它仍然看起来像XML示例:04RAZIW0.613646153646356552017-07-05T13:23:57.4356535+02:001NZORLT0.6136461536463565520

Hash-based Message Authentication Code(HMAC)

一、引言在现代信息安全领域,消息认证码(MessageAuthenticationCode,简称MAC)起着至关重要的作用。Hash-basedMessageAuthenticationCode(基于哈希的MAC,简称HMAC)作为一种广泛应用的MAC算法,其性能和安全性得到了业界的认可。本文将从算法原理、优缺点、替代方案等方面,全面介绍和解释HMAC算法。HMAC在线加密|一个覆盖广泛主题工具的高效在线平台(amd794.com)https://amd794.com/hmac二、算法原理HMAC算法是基于哈希函数的,其主要思想是将待认证的消息与一个密钥(Key)进行异或操作,然后通过哈希函数

android - Java : FileNotFoundException when loading Bitmap from URL with basic authentication

我知道这里有很多这类问题,但没有一个对我有用:(在我的Android应用程序中,我试图从URL中获取可绘制对象/位图,具体情况如下:publicBitmaploadBitmap(ISettingssettings){Bitmapbm=null;InputStreamis=null;BufferedInputStreambis=null;finalURLimageURL=newURL("http://domain.com/profile/image");finalStringauthString=settings.getUserName()+":"+settings.getPasswor

android - 'Peer Not Authenticated',parse.com SSL 证书已过期

我目前在AndroidStudio上gradling时遇到“PeerNotAuthenticated”问题。当我尝试清理我的项目时,AS告诉我问题来自https://maven.parse.com/repo/com/parse/tools/gradle/maven-metadata.xml使用Internet浏览器,我看到*.parse.com的SSL证书已于26日星期四过期...我已经尝试将“https”替换为“http”以绕过检查但是它不起作用。这是我的build.gradle文件的头部:applyplugin:'com.android.application'applyplugi

android - 在模拟器中使用 kSOAP2 使用本地主机 WCF 服务

我已经用头撞墙好几天了,所以非常感谢任何帮助。首先介绍一下背景。我是一名经验丰富的WindowsMo​​bile开发人员,正在转向Android,因此我是Java、Android甚至WCF的菜鸟。我已经对如何使用kSOAP2在Android中使用WCF应用程序进行了大量研究,但无论我做什么,我能想到的是由于超时导致的Android中的套接字错误。首先,我在VisualStudio2008中创建了一个Web服务应用程序,该应用程序不需要任何参数并且仅使用字符串值进行响应。Web服务代码如下:usingSystem;usingSystem.Collections.Generic;using

零知识证明论文阅读---Blockchain-Assisted Transparent Cross-Domain Authorization and Authentication for Smart

零知识证明论文阅读—Blockchain-AssistedTransparentCross-DomainAuthorizationandAuthenticationforSmartCitySystemModel系统由五类实体组成:Identitycommitteemembers(ICMs),Identityissuers(IIs),Identityholders(IHs),Identityverifiers(IVs),Identityauditor(IA)。详细的介绍可以阅读这篇论文Blockchain-AssistedTransparentCross-DomainAuthorizationa

java - 在 Android 上设置谷歌登录时出现 "FirebaseError: Invalid authentication credentials provided"错误

我一直在尝试为我的应用设置谷歌登录。我按照这里的教程:https://developers.google.com/identity/sign-in/android/start-integrating我做了一切。我可以登录登录和退出登录。然后我添加了一个异步任务来获取token,它似乎已成功检索。它的实现如下:privateclassGetIdTokenTaskextendsAsyncTask{privatestaticfinalStringSERVER_CLIEdNT_ID="749433126040-ca4gfj7ucuh0m2suo3230u03o3d7doni.apps.goog

新版Spring Security6.2案例 - Basic HTTP Authentication

前言:书接上文,翻译官网Authentication的Username/Password这页,接下来继续翻译basic的这页,因为官网说的都是原理性的,这边一个小案例关于basichttpauthentication。BasicAuthentication本节介绍HTTP基本身份验证在SpringSecurity中的工作原理。首先,我们看到WWW-Authenticate标头被发送回未经身份验证的客户端上图构建于SecurityFilterChain图。1.首先,用户向未授权的资源/private发出未经身份验证的请求。2.SpringSecurity的AuthorizationFilter通