Searched refs:NameCallback (Results 1 - 25 of 37) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/security/auth/callback/
H A DNameCallback.java30 * <code>NameCallback</code> to the <code>handle</code>
35 public class NameCallback implements Callback, java.io.Serializable { class in inherits:Callback,java.io.Serializable
56 * Construct a <code>NameCallback</code> with a prompt.
65 public NameCallback(String prompt) { method in class:NameCallback
72 * Construct a <code>NameCallback</code> with a prompt
87 public NameCallback(String prompt, String defaultName) { method in class:NameCallback
112 * @return the default name, or null if this <code>NameCallback</code>
/openjdk7/jdk/test/com/sun/security/auth/callback/TextCallbackHandler/
H A DDefault.java38 NameCallback nc = new NameCallback("Name: ", "charlie");
H A DNPE.java41 new NameCallback("Name: ") }
/openjdk7/jdk/test/com/sun/security/sasl/ntlm/
H A DNTLMTest.java124 if (cb instanceof NameCallback) {
125 NameCallback ncb = (NameCallback)cb;
141 if (cb instanceof NameCallback) {
142 name = ((NameCallback)cb).getDefaultName();
167 if (cb instanceof NameCallback) {
168 NameCallback ncb = (NameCallback)cb;
184 if (cb instanceof NameCallback) {
185 name = ((NameCallback)c
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/
H A DNegotiateCallbackHandler.java34 import javax.security.auth.callback.NameCallback;
85 if (callBack instanceof NameCallback) {
87 ((NameCallback)callBack).setName(username);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DCleanState.java36 import javax.security.auth.callback.NameCallback;
65 if (callback instanceof NameCallback) {
66 ((NameCallback)callback).setName(name);
H A DCrossRealm.java36 import javax.security.auth.callback.NameCallback;
99 if (callback instanceof NameCallback) {
100 ((NameCallback) callback).setName("dummy");
H A DOneKDC.java30 import javax.security.auth.callback.NameCallback;
131 if (callback instanceof NameCallback) {
133 ((NameCallback) callback).setName(user);
H A DOkAsDelegateXRealm.java31 import javax.security.auth.callback.NameCallback;
147 if (callback instanceof NameCallback) {
148 ((NameCallback) callback).setName("dummy");
H A DLoginModuleOptions.java36 import javax.security.auth.callback.NameCallback;
174 if (callback instanceof NameCallback) {
176 ((NameCallback) callback).setName(name);
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DClientFactoryImpl.java35 import javax.security.auth.callback.NameCallback;
44 * - NameCallback (to get username)
116 * as a default for the NameCallback. If null, it is not used in prompt.
130 NameCallback ncb = authorizationId == null?
131 new NameCallback(userPrompt) :
132 new NameCallback(userPrompt, authorizationId);
/openjdk7/jdk/test/com/sun/security/auth/module/LdapLoginModule/
H A DCheckOptions.java153 if (callbacks[i] instanceof NameCallback) {
154 NameCallback nc = (NameCallback) callbacks[i];
/openjdk7/jdk/test/com/sun/security/sasl/
H A DClientCallbackHandler.java43 NameCallback ncb = null;
50 if (callbacks[i] instanceof NameCallback) {
52 ((NameCallback)callbacks[i]).setName(username);
H A DPropertiesFileCallbackHandler.java67 NameCallback ncb = null;
73 if (callbacks[i] instanceof NameCallback) {
74 ncb = (NameCallback) callbacks[i];
87 // username is available in NameCallback
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DClientCallbackHandler.java43 NameCallback ncb = null;
50 if (callbacks[i] instanceof NameCallback) {
52 ((NameCallback)callbacks[i]).setName(username);
H A DPropertiesFileCallbackHandler.java67 NameCallback ncb = null;
73 if (callbacks[i] instanceof NameCallback) {
74 ncb = (NameCallback) callbacks[i];
87 // username is available in NameCallback
H A DNoQuoteParams.java37 import javax.security.auth.callback.NameCallback;
118 if (callbacks[i] instanceof NameCallback) {
119 NameCallback cb = (NameCallback)callbacks[i];
H A DCheckNegotiatedQOPs.java35 import javax.security.auth.callback.NameCallback;
132 if (callbacks[i] instanceof NameCallback) {
133 NameCallback cb = (NameCallback)callbacks[i];
/openjdk7/jdk/test/com/sun/security/sasl/gsskerb/
H A DPropertiesFileCallbackHandler.java67 NameCallback ncb = null;
73 if (callbacks[i] instanceof NameCallback) {
74 ncb = (NameCallback) callbacks[i];
87 // username is available in NameCallback
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerImpl.java71 } else if (callbacks[i] instanceof NameCallback) {
74 NameCallback nc = (NameCallback)callbacks[i];
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/ntlm/
H A DNTLMClient.java40 import javax.security.auth.callback.NameCallback;
48 * - NameCallback
139 NameCallback ncb = (authzid != null && !authzid.isEmpty()) ?
140 new NameCallback("User name: ", authzid) :
141 new NameCallback("User name: ");
H A DNTLMServer.java36 import javax.security.auth.callback.NameCallback;
45 * - NameCallback
144 NameCallback ncb = new NameCallback(
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/
H A DDefaultCallbackHandler.java34 * DefaultCallbackHandler for satisfying NameCallback and
36 * NameCallback is used for getting the authentication ID and is
71 if (callbacks[i] instanceof NameCallback) {
72 ((NameCallback)callbacks[i]).setName(authenticationID);
/openjdk7/jdk/src/share/classes/com/sun/security/auth/callback/
H A DDialogCallbackHandler.java32 import javax.security.auth.callback.NameCallback;
95 * instance of NameCallback or PasswordCallback
130 } else if (callbacks[i] instanceof NameCallback) {
131 final NameCallback nc = (NameCallback) callbacks[i];
H A DTextCallbackHandler.java32 import javax.security.auth.callback.NameCallback;
73 * instance of NameCallback or PasswordCallback
108 } else if (callbacks[i] instanceof NameCallback) {
109 NameCallback nc = (NameCallback) callbacks[i];

Completed in 767 milliseconds

12