草庐IT

Digest-Authentication

全部标签

android - 在 Android Studio 上重建时出现 "The security strength of SHA-1 digest algorithm is not sufficient for this key size"

我在构建项目时遇到了这个问题。下面是堆栈跟踪。我为发布key创建了一个新的keystore文件,但没有用。Causedby:java.io.IOException:Failedtogeneratev1signatureatcom.android.tools.build.apkzlib.sign.SigningExtension.onOutputZipReadyForUpdate(SigningExtension.java:292)atcom.android.tools.build.apkzlib.sign.SigningExtension.access$200(SigningExten

java - Android Drive API OAuth BAD_AUTHENTICATION

我在使用GoogleDriveRESTv3androidAPI时遇到问题。OAuthtoken得到BAD_AUTHENTICATION结果。这是我正在使用的连接代码。还可以注意到OAuth同意屏幕没有显示,并且在短时间后,我得到BAD_AUTHENTICATION结果。我是否需要手动将刷新token传递给服务器或其他东西?//Gathercredentialscredential=GoogleAccountCredential.usingOAuth2(getApplicationContext(),Arrays.asList(SCOPES)).setBackOff(newExponen

android - 登录异常 SASL 身份验证在 android 中使用机制 DIGEST-MD5 asmack 失败

我尝试连接Xmpp服务器,但出现异常使用DIGEST-MD5机制登录异常SASL身份验证失败我使用这个代码,任何人都可以帮助我,或者代码try{if(xmppConnection==null){ConnectionConfigurationconfig=newConnectionConfiguration(SERVER_HOST,SERVER_PORT,SERVICE_NAME);xmppConnection=newXMPPConnection(config);System.out.println("xmppConnection"+xmppConnection);}if(!xmppCo

android - com.firebase.ui.auth.FirebaseUiException : Provider error - Firebase-UI Authentication Facebook login not working

我正在使用电子邮件、Facebook和谷歌提供商使用Firebase-UI身份验证。电子邮件和Google登录工作正常,但Facebook登录不工作。我的facebook和firebase依赖项://Firebaseimplementation'com.google.firebase:firebase-core:16.0.1'//CloudFirestoreimplementation'com.google.firebase:firebase-firestore:17.0.2'//FirebaseAuthenticationimplementation'com.google.fireb

android - 新发布的 "Authentication with Google Play Services",通过 GoogleAuthUtil.getToken 获取 token 时出现问题

更新:刚才我使用我也用于GoogleAppEngine的Google帐户注册了GoogleAPI,现在错误已更改为com.google.android.gms.auth.GoogleAuthException:UnknownGoogle刚刚发布了一种新方法signuptoone'sappviaaGoogleAccount并在他们的blogpost中给出了一些解释,也。我正在编写一个Android应用程序,您必须注册才能创建用户帐户,并且我在后端使用GoogleAppEngine。通过播放服务,我想获得与他们的Android设备相关联的用户电子邮件和token。我已经可以收到电子邮件,但

Android - 为 Digest Auth 配置 Retrofit/Apache HttpClient

我正在开发一个Android项目并尝试让摘要式身份验证与Retrofit一起使用。我有点惊讶Retrofit本身不支持它(或者更准确地说,OkHttp不支持它),但我想提示没有意义。我在这里浏览了很多线程,看来正确的解决方案是将ApacheHttpClient(它本身支持DigestAuth)与Retrofit集成。这需要使用retrofit.client.Client实现包装HttpClient。Retrofit传入的值必须被解析并构建到一个新的HttpClient响应中,然后将其发送回Retrofit以进行正常处理。感谢JasonTu和他的例子:https://gist.githu

android - Twitter4J + Android : Authentication Challenge is Null Exception

我正在使用Twitter4J库进行OAuth身份验证,但我什至在它打开Twitter登录页面之前就收到“身份验证挑战是空异常”。这是代码。Twittertwitter=newTwitterFactory().getInstance();try{twitter.setOAuthConsumer(Startup.TWITTER_KEY,Startup.TWITTER_SECRET);StringcallbackURL="twitter-client:///";RequestTokenrToken=twitter.getOAuthRequestToken(callbackURL);start

Telnet SMTP协议关于“535 Error: authentication failed“解决思路

计算机网络中应用层的SMTP(SimpleMailTransferProtocol)协议可用来发送邮件,在Telnet使用SMTP登陆账号密码时出现“535Error:authenticationfailed”问题。现记录解决步骤。1.确认在邮箱中已开启SMTP服务。2. 按照扫码流程,获得授权密码(一定要保存好),该授权密码是用于登录第三方邮件客户端的专用密码。3. 远程与邮件服务器建立连接。    3.1 招呼语        helo   xxx    3.2 账户登陆        authlogin    3.3 输入经过base64编码后的邮箱用户名(假如邮箱号是testSMTP@

windows - 混帐克隆 : Authentication failed for <URL>

尝试访问私有(private)企业tfs。他们通过向Windows用户(域\登录名)授予适当的权限来授予我访问权限。我可以访问tfs的Web界面,浏览存储库和其他东西。但是当我尝试运行时gitclonehttps://tfs.somehostname.com/tfs/somefolder/_git/therepository它失败了Cloninginto'therepository'...fatal:Authenticationfailedfor'https://tfs.somehostname.com/tfs/somefolder/_git/therepository/'尝试在没有公

c# - 使用 HTTPS "The authentication or decryption has failed"的 WebClient.DownloadString

我正在Windows10上使用UnityEngine(2017.2.0f3)创建游戏,我试图从网页中获取HTML。据我所知,Unity使用“Mono”C#编译器和运行时v2.0(根据运行mono的结果--versioninUnity\Editor\Data\Mono\bin),还有v5.0.1(根据运行mono的结果--Unity\Editor\Data\MonoBleedingEdge\bin中的版本)。我目前正在使用HTMLAgilityPack进行解析。尝试访问HTTP安全网站时,例如dictionary.com,一切都按预期工作,但无论我做什么,我都无法访问HTTPS安全网站,