Lines Matching refs:auth
27 import org.apache.harmony.javax.security.auth.callback.CallbackHandler;
28 import org.apache.harmony.javax.security.auth.callback.PasswordCallback;
29 import org.apache.harmony.javax.security.auth.callback.Callback;
84 Authentication auth = new Authentication();
85 auth.setUsername(username);
89 auth.setDigest(connection.getConnectionID(), password);
92 auth.setPassword(password);
98 auth.setResource(resource);
100 collector = connection.createPacketCollector(new PacketIDFilter(auth.getPacketID()));
102 connection.sendPacket(auth);
119 Authentication auth = new Authentication();
122 connection.createPacketCollector(new PacketIDFilter(auth.getPacketID()));
124 connection.sendPacket(auth);