Home
last modified time | relevance | path

Searched refs:NameCallback (Results 1 – 14 of 14) sorted by relevance

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
DNameCallbackTest.java26 import javax.security.auth.callback.NameCallback;
39 NameCallback nc = new NameCallback("prmpt", "defName"); in getData()
41 return new Object[] { new NameCallback("prompt", "defaultName"), nc }; in getData()
45 assertTrue(test instanceof NameCallback); in assertDeserialized()
46 assertEquals(((NameCallback) golden).getDefaultName(), in assertDeserialized()
47 ((NameCallback) test).getDefaultName()); in assertDeserialized()
48 assertEquals(((NameCallback) golden).getName(), ((NameCallback) test) in assertDeserialized()
50 assertEquals(((NameCallback) golden).getPrompt(), ((NameCallback) test) in assertDeserialized()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
DNameCallbackTest.java24 import javax.security.auth.callback.NameCallback;
34 NameCallback nc;
40 nc = new NameCallback("prompt", "defaultName"); in testNameCallback_01()
53 nc = new NameCallback("", "DefaultName"); in testNameCallback_02()
58 nc = new NameCallback(null, "DefaultName"); in testNameCallback_02()
63 nc = new NameCallback("Prompt", ""); in testNameCallback_02()
68 nc = new NameCallback("Prompt", null); in testNameCallback_02()
DUnsupportedCallbackExceptionTest.java25 import javax.security.auth.callback.NameCallback;
36 NameCallback nc = new NameCallback("prompt");
/external/smack/src/org/apache/qpid/management/common/sasl/
DUserPasswordCallbackHandler.java24 import org.apache.harmony.javax.security.auth.callback.NameCallback;
44 if (callbacks[i] instanceof NameCallback) in handle()
46 NameCallback ncb = (NameCallback) callbacks[i]; in handle()
DUsernameHashedPasswordCallbackHandler.java25 import org.apache.harmony.javax.security.auth.callback.NameCallback;
49 if (callbacks[i] instanceof NameCallback) in handle()
51 NameCallback ncb = (NameCallback) callbacks[i]; in handle()
DPlainSaslClient.java25 import org.apache.harmony.javax.security.auth.callback.NameCallback;
184 NameCallback nameCb = new NameCallback(userPrompt); in getUserInfo()
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
DNameCallback.java24 public class NameCallback implements Callback, Serializable { class
48 public NameCallback(String prompt) { in NameCallback() method in NameCallback
53 public NameCallback(String prompt, String defaultName) { in NameCallback() method in NameCallback
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/
DJndiLoginModuleTest.java28 import javax.security.auth.callback.NameCallback;
296 if (callbacks[i] instanceof NameCallback) { in handle()
297 NameCallback nc = (NameCallback) callbacks[i]; in handle()
314 if (callbacks[i] instanceof NameCallback) { in handle()
315 NameCallback nc = (NameCallback) callbacks[i]; in handle()
DLdapLoginModuleTest.java28 import javax.security.auth.callback.NameCallback;
301 if(callbacks[i] instanceof NameCallback){ in handle()
302 NameCallback nc = (NameCallback)callbacks[i]; in handle()
321 if(callbacks[i] instanceof NameCallback){ in handle()
322 NameCallback nc = (NameCallback)callbacks[i]; in handle()
/external/smack/src/org/jivesoftware/smack/sasl/
DSASLMechanism.java34 import org.apache.harmony.javax.security.auth.callback.NameCallback;
173 if (callbacks[i] instanceof NameCallback) { in handle()
174 NameCallback ncb = (NameCallback)callbacks[i]; in handle()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DSasl3Test.java31 import javax.security.auth.callback.NameCallback;
391 if (element instanceof NameCallback) { in handle()
392 NameCallback nc = (NameCallback) element; in handle()
/external/smack/src/com/novell/sasl/client/
DDigestMD5SaslClient.java606 callbacks[2] = new NameCallback("Name"); in createDigestResponse()
608 callbacks[2] = new NameCallback("Name", m_authorizationId); in createDigestResponse()
640 m_name = ((NameCallback)callbacks[2]).getName(); in createDigestResponse()
642 m_name = ((NameCallback)callbacks[2]).getDefaultName(); in createDigestResponse()
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/
DDigestMD5SaslClient.java606 callbacks[2] = new NameCallback("Name"); in createDigestResponse()
608 callbacks[2] = new NameCallback("Name", m_authorizationId); in createDigestResponse()
640 m_name = ((NameCallback)callbacks[2]).getName(); in createDigestResponse()
642 m_name = ((NameCallback)callbacks[2]).getDefaultName(); in createDigestResponse()
/external/mdnsresponder/mDNSPosix/
DIdentify.c107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in NameCallback() function
315 DoQuery(&q, buffer, kDNSType_PTR, &target, NameCallback); in main()
334 DoQuery(&q, buffer, kDNSType_PTR, &target, NameCallback); in main()