/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLGSSAPIMechanism.java | 20 package org.jivesoftware.smack.sasl;
28 import de.measite.smack.Sasl;
32 * Implementation of the SASL GSSAPI mechanism
64 props.put(Sasl.SERVER_AUTH,"TRUE");
65 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, cbh);
83 props.put(Sasl.SERVER_AUTH,"TRUE");
84 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, this);
|
SASLFacebookConnect.java | 1 package org.jivesoftware.smack.sasl; 13 import de.measite.smack.Sasl; 18 import org.jivesoftware.smack.sasl.SASLMechanism; 44 // sc = Sasl.createSaslClient(mechanisms, null, "xmpp", hostname, props, 53 stanza.append("\" xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\">"); 88 sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props, this); 96 sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props, cbh); 150 stanza.append("<response xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\">");
|
SASLMechanism.java | 21 package org.jivesoftware.smack.sasl;
36 import org.apache.harmony.javax.security.sasl.RealmCallback;
37 import org.apache.harmony.javax.security.sasl.RealmChoiceCallback;
38 import de.measite.smack.Sasl;
39 import org.apache.harmony.javax.security.sasl.SaslClient;
40 import org.apache.harmony.javax.security.sasl.SaslException;
43 * Base class for SASL mechanisms. Subclasses must implement these methods:
45 * <li>{@link #getName()} -- returns the common name of the SASL mechanism.</li>
92 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, this);
109 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, cbh); [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
Sasl4Test.java | 22 package org.apache.harmony.auth.tests.javax.security.sasl; 32 import javax.security.sasl.Sasl; 33 import javax.security.sasl.SaslException; 34 import javax.security.sasl.SaslServer; 35 import javax.security.sasl.SaslServerFactory; 42 * Test for Sasl class 115 Sasl.createSaslServer(null, null, null, null, cbH); 120 Sasl.createSaslServer("MECH-2", "protocol", null, null, cbH); 126 Sasl.createSaslServer("MECH-1", "protocol", null, null, cbH) [all...] |
Sasl1Test.java | 22 package org.apache.harmony.auth.tests.javax.security.sasl; 28 import javax.security.sasl.Sasl; 29 import javax.security.sasl.SaslClientFactory; 30 import javax.security.sasl.SaslServerFactory; 35 * Test for Sasl class 76 Enumeration<SaslClientFactory> en = Sasl.getSaslClientFactories(); 91 Enumeration<SaslServerFactory> en = Sasl.getSaslServerFactories();
|
Sasl3Test.java | 22 package org.apache.harmony.auth.tests.javax.security.sasl; 35 import javax.security.sasl.Sasl; 36 import javax.security.sasl.SaslClient; 37 import javax.security.sasl.SaslClientFactory; 38 import javax.security.sasl.SaslException; 45 * Test for Sasl class 117 Sasl.createSaslClient(null, null, null, null, null, cbH); 122 Sasl.createSaslClient(new String[] { "NAME-2" }, null, "protocol", 129 Sasl.createSaslClient(new String[] { "NAME-1" }, null, "protocol" [all...] |
Sasl2Test.java | 22 package org.apache.harmony.auth.tests.javax.security.sasl; 30 import javax.security.sasl.Sasl; 31 import javax.security.sasl.SaslClient; 32 import javax.security.sasl.SaslClientFactory; 33 import javax.security.sasl.SaslException; 34 import javax.security.sasl.SaslServer; 35 import javax.security.sasl.SaslServerFactory; 42 * Test for Sasl class 107 Enumeration<SaslClientFactory> en = Sasl.getSaslClientFactories() [all...] |
/external/smack/src/org/apache/qpid/management/common/sasl/ |
CRAMMD5HashedSaslClientFactory.java | 21 package org.apache.qpid.management.common.sasl; 24 import de.measite.smack.Sasl; 25 import org.apache.harmony.javax.security.sasl.SaslClient; 26 import org.apache.harmony.javax.security.sasl.SaslClientFactory; 27 import org.apache.harmony.javax.security.sasl.SaslException; 49 return Sasl.createSaslClient(mechs, authorizationId, protocol, serverName, props, cbh);
|
PlainSaslClient.java | 21 package org.apache.qpid.management.common.sasl; 28 import de.measite.smack.Sasl; 29 import org.apache.harmony.javax.security.sasl.SaslClient; 30 import org.apache.harmony.javax.security.sasl.SaslException; 140 if (propName.equals(Sasl.QOP))
|
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
Sasl.java | 24 import org.apache.harmony.javax.security.sasl.SaslClient; 25 import org.apache.harmony.javax.security.sasl.SaslException; 26 import org.apache.harmony.javax.security.sasl.SaslServer; 27 import org.apache.harmony.javax.security.sasl.SaslServerFactory; 29 public class Sasl { 37 public static final String POLICY_NOPLAINTEXT = "javax.security.sasl.policy.noplaintext"; //$NON-NLS-1$ 39 public static final String POLICY_NOACTIVE = "javax.security.sasl.policy.noactive"; //$NON-NLS-1$ 41 public static final String POLICY_NODICTIONARY = "javax.security.sasl.policy.nodictionary"; //$NON-NLS-1$ 43 public static final String POLICY_NOANONYMOUS = "javax.security.sasl.policy.noanonymous"; //$NON-NLS-1$ 45 public static final String POLICY_FORWARD_SECRECY = "javax.security.sasl.policy.forward"; //$NON-NLS-1 [all...] |
/external/smack/src/de/measite/smack/ |
Sasl.java | 24 import org.apache.harmony.javax.security.sasl.SaslClient; 25 import org.apache.harmony.javax.security.sasl.SaslException; 26 import org.apache.harmony.javax.security.sasl.SaslServer; 27 import org.apache.harmony.javax.security.sasl.SaslServerFactory; 29 public class Sasl { 37 public static final String POLICY_NOPLAINTEXT = "javax.security.sasl.policy.noplaintext"; //$NON-NLS-1$ 39 public static final String POLICY_NOACTIVE = "javax.security.sasl.policy.noactive"; //$NON-NLS-1$ 41 public static final String POLICY_NODICTIONARY = "javax.security.sasl.policy.nodictionary"; //$NON-NLS-1$ 43 public static final String POLICY_NOANONYMOUS = "javax.security.sasl.policy.noanonymous"; //$NON-NLS-1$ 45 public static final String POLICY_FORWARD_SECRECY = "javax.security.sasl.policy.forward"; //$NON-NLS-1 [all...] |
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/ |
DigestMD5SaslClient.java | 2 * $OpenLDAP: /com/novell/sasl/client/DigestMD5SaslClient.java,v 1.4 2005/01/17 15:00:54 sunilk Exp $ 15 package com.novell.sasl.client; 17 import org.apache.harmony.javax.security.sasl.*; 27 * Implements the Client portion of DigestMD5 Sasl mechanism. 65 * When the SASL authentication completes 76 * the SASL mechanism and to configure the 78 * See the Sasl class for a list of standard properties. 84 * SASL mechanisms to get further information from the 86 * For example, a SASL mechanism might require the 109 String desiredQOP = (String)props.get(Sasl.QOP) [all...] |
/external/smack/src/com/novell/sasl/client/ |
DigestMD5SaslClient.java | 2 * $OpenLDAP: /com/novell/sasl/client/DigestMD5SaslClient.java,v 1.4 2005/01/17 15:00:54 sunilk Exp $ 15 package com.novell.sasl.client; 17 import org.apache.harmony.javax.security.sasl.*; 27 * Implements the Client portion of DigestMD5 Sasl mechanism. 65 * When the SASL authentication completes 76 * the SASL mechanism and to configure the 78 * See the Sasl class for a list of standard properties. 84 * SASL mechanisms to get further information from the 86 * For example, a SASL mechanism might require the 109 String desiredQOP = (String)props.get(Sasl.QOP) [all...] |
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
Sasl.java | 18 package org.apache.harmony.javax.security.sasl; 33 public class Sasl { 40 public static final String POLICY_NOPLAINTEXT = "javax.security.sasl.policy.noplaintext"; //$NON-NLS-1$ 42 public static final String POLICY_NOACTIVE = "javax.security.sasl.policy.noactive"; //$NON-NLS-1$ 44 public static final String POLICY_NODICTIONARY = "javax.security.sasl.policy.nodictionary"; //$NON-NLS-1$ 46 public static final String POLICY_NOANONYMOUS = "javax.security.sasl.policy.noanonymous"; //$NON-NLS-1$ 48 public static final String POLICY_FORWARD_SECRECY = "javax.security.sasl.policy.forward"; //$NON-NLS-1$ 50 public static final String POLICY_PASS_CREDENTIALS = "javax.security.sasl.policy.credentials"; //$NON-NLS-1$ 52 public static final String MAX_BUFFER = "javax.security.sasl.maxbuffer"; //$NON-NLS-1$ 54 public static final String RAW_SEND_SIZE = "javax.security.sasl.rawsendsize"; //$NON-NLS-1 [all...] |