sasl

WildFly 8.2 configure JMS Bridge for remote servers

浪尽此生 提交于 2019-12-13 19:13:35
问题 I'm trying to configure a jmsbridge on wildfly 8.2 for connect two remote servers. The first server put messages in a local queue JMSBridgeSourceQ then the bridge move the messages to the other queue JMSBridgeTargetQ located on server2. I followed this example http://everything-jboss.blogspot.it/2013/07/remote-jms-messaging-with-hornetq-on.html for setting the standalone-full-ha.xml. on server 1 (source) I have the following messaging section: <subsystem xmlns="urn:jboss:domain:messaging:2.0"

How can I trace the failure ot TSaslTransport (hive related)

二次信任 提交于 2019-12-12 21:43:03
问题 I've been debugging a JDBC Connection error in hive, similar to what was asked here: Hive JDBC getConnection does not return. By turning on log4j properly, i finally got down to seeing this , before the getConnection() hangs. What is thrift waiting for ? If this is related to using the wrong thrift APIs, how can I determine versioning differences between client/server? I have tried copying all libraries from my hive server onto my client app to test if it is some kind of minor thrift class

Zookeeper/SASL Checksum failed

左心房为你撑大大i 提交于 2019-12-12 19:19:18
问题 How do I fix the problem that generates this error: WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1040] - Client failed to SASL authenticate: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)] javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)] at com.sun.security.sasl

Problems with JavaMail, GMail and OAUTH2 (not Android)

懵懂的女人 提交于 2019-12-11 12:54:39
问题 I'm having a problem connecting to GMail with JavaMail in a non-android environment. I'm being given an OAuth2 access token, which I believe to be correct. But when I try to use this access token to connect, I get an exception: javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure) It looks, to me, like the Java SASL code is expecting two return values (a username and a password callback?), but is only getting one. I've boiled the problem down to this

Kafka Zookeeper security

前提是你 提交于 2019-12-10 18:06:02
问题 I am using Kafka Version 0.10.2.0. Is there a way to secure communication between Zookeper Client i.e ZkClient and zookeper server with SSL. I found some way to do through SASL but i want it through SSL. 回答1: Zookeeper 3.5 includes SSL support but it is still in alpha so Kafka doesn't yet support it. The highest supported version is 3.4 which only includes sasl. Ref: https://issues.apache.org/jira/browse/ZOOKEEPER-1000 回答2: This task can still be achieved by a simple workaround mentioned in

Is there SASL implementation that works on Android?

爱⌒轻易说出口 提交于 2019-12-10 11:28:32
问题 Android has no SASL by default. Curious, if there some 3rd party implementation that can be used on Android? Did some one try http://www.cryptix.org/? 回答1: We're using asmack in our project. It replaces default Smack implementation by its own. It's been working so far without any issues. it uses Apache Harmony SASL client. 回答2: Maybe you can try this one? android-sasl 来源: https://stackoverflow.com/questions/3327615/is-there-sasl-implementation-that-works-on-android

Connect to facebook chat using Jabber.net (C#/Mono) with SASL

笑着哭i 提交于 2019-12-06 12:52:32
问题 I am trying to connect to facebook chat using Jabber.net(c#/Mono). The code I am using is this: static ManualResetEvent done = new ManualResetEvent(false); const bool VERBOSE = true; const string TARGET = "friends_username@chat.facebook.com"; void Start () { JabberClient j = new JabberClient(); j.User = "my_facebook_alias"; //Later to be removed j.Server = "chat.facebook.com"; j.Port = 5222; j.NetworkHost = "chat.facebook.com"; j.AutoStartCompression = true; j.KeepAlive = 30F; j.AutoStartTLS

Is there SASL implementation that works on Android?

拟墨画扇 提交于 2019-12-06 10:03:06
Android has no SASL by default. Curious, if there some 3rd party implementation that can be used on Android? Did some one try http://www.cryptix.org/ ? We're using asmack in our project. It replaces default Smack implementation by its own . It's been working so far without any issues. it uses Apache Harmony SASL client. Maybe you can try this one? android-sasl 来源: https://stackoverflow.com/questions/3327615/is-there-sasl-implementation-that-works-on-android

Generating SASL XOAUTH2 client response for Gmail IMAP access using Ruby

你说的曾经没有我的故事 提交于 2019-12-06 03:35:31
I'm trying to access my Gmail emails over IMAP using XOAUTH2 in Ruby. I've successfully generated an access token (and refresh token) by authenticating using OAuth 2.0 with the oauth2 gem. I'm going to use gmail_xoauth to access Gmail over IMAP. So I now need to generate the SASL initial client response, as per the Gmail XOAuth2 docs : The SASL XOAUTH2 initial client response has the following format: base64("user=" {User} "^Aauth=Bearer " {Access Token} "^A^A") using the base64 encoding mechanism defined in RFC 4648. ^A represents a Control+A (\001). I'm not clear how I represent the "Control

sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory

你离开我真会死。 提交于 2019-12-05 17:57:11
问题 I have OS Red Hat Enterprise Linux Server release 7.4 (Maipo) and python Python 2.7.13 :: Anaconda 4.4.0 (64-bit) Tried to install lib sasl sudo pip install sasl Collecting sasl Downloading http://repo.com/api/pypi/pypi/packages/8e/2c/45dae93d666aea8492678499e0999269b4e55f1829b1e4de5b8204706ad9/sasl-0.2.1.tar.gz Collecting six (from sasl) Downloading http://repo.com/api/pypi/pypi/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl