Lines Matching defs:callbacks
65 public void handle(Callback[] callbacks)
72 for (int i = 0; i < callbacks.length; i++) {
73 if (callbacks[i] instanceof NameCallback) {
74 ncb = (NameCallback) callbacks[i];
75 } else if (callbacks[i] instanceof PasswordCallback) {
76 pcb = (PasswordCallback) callbacks[i];
77 } else if (callbacks[i] instanceof AuthorizeCallback) {
78 acb = (AuthorizeCallback) callbacks[i];
79 } else if (callbacks[i] instanceof RealmCallback) {
80 rcb = (RealmCallback) callbacks[i];
82 throw new UnsupportedCallbackException(callbacks[i]);