Home
last modified time | relevance | path

Searched refs:mechs (Results 1 – 6 of 6) sorted by relevance

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/
DGSSManagerImplTest.java34 Oid[] mechs = gssManager.getMechs(); in testGetMechs() local
37 assertTrue(Arrays.equals(expectedMechs, mechs)); in testGetMechs()
42 Oid[] mechs = gssManager.getMechsForName(nameType); in testGetMechsForName() local
43 assertEquals(0, mechs.length); in testGetMechsForName()
46 mechs = gssManager.getMechsForName(nameType); in testGetMechsForName()
47 assertEquals(0, mechs.length); in testGetMechsForName()
50 mechs = gssManager.getMechsForName(nameType); in testGetMechsForName()
51 assertEquals(0, mechs.length); in testGetMechsForName()
54 mechs = gssManager.getMechsForName(nameType); in testGetMechsForName()
57 assertTrue(Arrays.equals(expectedMechs, mechs)); in testGetMechsForName()
[all …]
/external/smack/src/org/apache/qpid/management/common/sasl/
DClientSaslFactory.java31 public SaslClient createSaslClient(String[] mechs, String authorizationId, String protocol, in createSaslClient() argument
35 for (int i = 0; i < mechs.length; i++) in createSaslClient()
37 if (mechs[i].equals("PLAIN")) in createSaslClient()
DCRAMMD5HashedSaslClientFactory.java48 String[] mechs = {"CRAM-MD5"}; in createSaslClient() local
49 … return Sasl.createSaslClient(mechs, authorizationId, protocol, serverName, props, cbh); in createSaslClient()
/external/openssh/
Dauth2-gss.c64 int mechs; in userauth_gssapi() local
74 mechs = packet_get_int(); in userauth_gssapi()
75 if (mechs == 0) { in userauth_gssapi()
82 mechs--; in userauth_gssapi()
99 } while (mechs > 0 && !present); in userauth_gssapi()
/external/smack/src/org/jivesoftware/smack/
DSmackConfiguration.java218 public static void addSaslMechs(Collection<String> mechs) { in addSaslMechs() argument
219 for(String mech : mechs) { in addSaslMechs()
240 public static void removeSaslMechs(Collection<String> mechs) { in removeSaslMechs() argument
241 for(String mech : mechs) { in removeSaslMechs()
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
DGSSManagerTest.java114 Oid[] mechs, int usage) in createCredential() argument