/external/chromium/third_party/libjingle/source/talk/examples/login/ |
xmppauth.cc | 54 const std::vector<std::string> & mechanisms, 59 it = std::find(mechanisms.begin(), mechanisms.end(), "X-GOOGLE-TOKEN"); 60 if (it != mechanisms.end() && !auth_cookie_.empty()) 64 it = std::find(mechanisms.begin(), mechanisms.end(), "X-GOOGLE-COOKIE"); 65 if (it != mechanisms.end() && !auth_cookie_.empty()) 68 it = std::find(mechanisms.begin(), mechanisms.end(), "PLAIN"); 69 if (it != mechanisms.end() [all...] |
xmppauth.h | 59 const std::vector<std::string> & mechanisms,
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
plainsaslhandler.h | 46 virtual std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) { 52 std::vector<std::string>::const_iterator it = std::find(mechanisms.begin(), mechanisms.end(), "PLAIN"); 53 if (it == mechanisms.end()) {
|
saslhandler.h | 39 // Creates mechanisms to deal with a given mechanism 49 virtual std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) = 0;
|
xmpplogintask.cc | 191 // Collect together the SASL auth mechanisms presented by the server 192 std::vector<std::string> mechanisms; local 198 mechanisms.push_back(pelMech->BodyText()); 201 // Given all the mechanisms, choose the best 202 std::string choice(pctx_->ChooseBestSaslMechanism(mechanisms, pctx_->IsEncrypted()));
|
xmppengineimpl.h | 197 std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted);
|
xmppengineimpl.cc | 405 XmppEngineImpl::ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) { 406 return sasl_handler_->ChooseBestSaslMechanism(mechanisms, encrypted);
|
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLGSSAPIMechanism.java | 62 String[] mechanisms = { getName() };
local 65 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, cbh);
81 String[] mechanisms = { getName() };
local 84 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, this);
|
SASLFacebookConnect.java | 22 * This class is originally from http://code.google.com/p/fbgc/source/browse/trunk/daemon/src/main/java/org/albino/mechanisms/FacebookConnectSASLMechanism.java 42 // String[] mechanisms = { getName() }; 44 // sc = Sasl.createSaslClient(mechanisms, null, "xmpp", hostname, props, 86 String[] mechanisms = { "DIGEST-MD5" }; local 88 sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props, this); 94 String[] mechanisms = { "DIGEST-MD5" }; local 96 sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props, cbh);
|
SASLMechanism.java | 43 * Base class for SASL mechanisms. Subclasses must implement these methods:
90 String[] mechanisms = { getName() };
local 92 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, this);
107 String[] mechanisms = { getName() };
local 109 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, cbh);
|
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
SaslClientFactory.java | 25 SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol,
|
SaslServerFactory.java | 25 SaslServer createSaslServer(String mechanisms, String protocol, String serverName,
|
Sasl.java | 168 public static SaslClient createSaslClient(String[] mechanisms, String authanticationID, 171 if (mechanisms == null) { 186 for (int n = 0; n < mechanisms.length; n++) { 187 if (mech[j].equals(mechanisms[n])) { 195 SaslClient saslC = fact.createSaslClient(mechanisms, authanticationID,
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
CRAMMD5HashedSaslClientFactory.java | 35 public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, 39 for (int i = 0; i < mechanisms.length; i++) 41 if (mechanisms[i].equals(MECHANISM))
|
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
Sasl.java | 76 public static SaslClient createSaslClient(String[] mechanisms, String authanticationID, 79 if (mechanisms == null) { 87 for (int n = 0; n < mechanisms.length; n++) { 88 if (mech[j].equals(mechanisms[n])) { 97 mechanisms,
|
SaslClientFactory.java | 32 public SaslClient createSaslClient(String[] mechanisms, 35 for (String mech: mechanisms) {
|
/external/smack/src/de/measite/smack/ |
Sasl.java | 76 public static SaslClient createSaslClient(String[] mechanisms, String authanticationID, 79 if (mechanisms == null) { 87 for (int n = 0; n < mechanisms.length; n++) { 88 if (mech[j].equals(mechanisms[n])) { 97 mechanisms,
|
SaslClientFactory.java | 32 public SaslClient createSaslClient(String[] mechanisms, 35 for (String mech: mechanisms) {
|
/external/smack/src/org/jivesoftware/smack/ |
SASLAuthentication.java | 44 * <p>The server may support many SASL mechanisms to use for authenticating. Out of the box
45 * Smack provides several SASL mechanisms, but it is possible to register new SASL Mechanisms. Use
46 * {@link #registerSASLMechanism(String, Class)} to register a new mechanisms. A registered
48 * the list of supported SASL mechanisms is determined from the {@link SmackConfiguration}. </p>
90 // Register SASL mechanisms supported by Smack
484 * @param mechanisms collection of strings with the available SASL mechanism reported
487 void setAvailableSASLMethods(Collection<String> mechanisms) {
488 this.serverMechanisms = mechanisms;
|
SASLAuthentication.java.orig | 44 * <p>The server may support many SASL mechanisms to use for authenticating. Out of the box
45 * Smack provides several SASL mechanisms, but it is possible to register new SASL Mechanisms. Use
46 * {@link #registerSASLMechanism(String, Class)} to register a new mechanisms. A registered
48 * the list of supported SASL mechanisms is determined from the {@link SmackConfiguration}. </p>
90 // Register SASL mechanisms supported by Smack
484 * @param mechanisms collection of strings with the available SASL mechanism reported
487 void setAvailableSASLMethods(Collection<String> mechanisms) {
488 this.serverMechanisms = mechanisms;
|
/external/smack/src/org/jivesoftware/smack/util/ |
PacketParserUtils.java.orig | 527 * Parse the available SASL mechanisms reported from the server. 529 * @param parser the XML parser, positioned at the start of the mechanisms stanza. 530 * @return a collection of Stings with the mechanisms included in the mechanisms stanza. 534 List<String> mechanisms = new ArrayList<String>(); 542 mechanisms.add(parser.nextText()); 546 if (parser.getName().equals("mechanisms")) { 551 return mechanisms; [all...] |
PacketParserUtils.java | 526 * Parse the available SASL mechanisms reported from the server. 528 * @param parser the XML parser, positioned at the start of the mechanisms stanza. 529 * @return a collection of Stings with the mechanisms included in the mechanisms stanza. 533 List<String> mechanisms = new ArrayList<String>(); local 541 mechanisms.add(parser.nextText()); 545 if (parser.getName().equals("mechanisms")) { 550 return mechanisms; [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.pas | [all...] |