草庐IT

authenticators

全部标签

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

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

零知识证明论文阅读---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通

android - Parse.com 身份验证错误 : Unable to respond to any of these challenges: {oauth=www-authenticate: OAuth realm ="https://api.twitter.com"}

将ParseAndroidSDK升级到版本1.4.1后,Twitter登录停止工作。当我尝试使用Twitter登录时:ParseTwitterUtils.initialize(Constants.TWITTER_CONSUMER_KEY,Constants.TWITTER_CONSUMER_SECRET);ParseTwitterUtils.logIn(activity,newLogInCallback(){@Overridepublicvoiddone(ParseUserparseUser,ParseExceptione){if(e==null){//Success}else{//E

java - 如何在 Android 上的 HttpUrlConnection 中禁用对 401 上的 WWW-Authenticate header 的检查?

我使用的网络服务在我的身份验证cookie过期时返回401,这会导致HttpUrlConnection抛出此错误:java.io.IOException:Noauthenticationchallengesfoundatlibcore.net.http.HttpURLConnectionImpl.getAuthorizationCredentials(HttpURLConnectionImpl.java:427)atlibcore.net.http.HttpURLConnectionImpl.processAuthHeader(HttpURLConnectionImpl.java:40

android - HttpURLConnection 在 Android 2.x 中运行良好但在 4.1 中运行不正常 : No authentication challenges found

我有一些典型的代码,它们使用HttpURLConnection来获取带有URL的文件。他们在android1.x和2.x中运行良好。但在Android4.1中失败了!我在网上搜索了一下,几乎没有找到类似的信息。有人可以帮忙调查这个问题吗?privateStringmURLStr;privateHttpURLConnectionmHttpConnection;...url=newURL(mURLStr);...mHttpConnection=(HttpURLConnection)url.openConnection();mHttpConnection.setDoOutput(true);