/libcore/ojluni/src/main/java/java/net/ |
H A D | PasswordAuthentication.java | 31 * Authenticator. It is simply a repository for a user name and a password. 43 private char[] password; field in class:PasswordAuthentication 47 * user name and password. 49 * <p> Note that the given user password is cloned before it is stored in 53 * @param password the user's password 55 public PasswordAuthentication(String userName, char[] password) { argument 57 this.password = password.clone(); 70 * Returns the user password [all...] |
/libcore/ojluni/src/main/java/javax/sql/ |
H A D | ConnectionPoolDataSource.java | 62 * @param password the user's password 71 PooledConnection getPooledConnection(String user, String password) argument
|
H A D | DataSource.java | 91 * @param password the user's password 96 Connection getConnection(String username, String password) argument
|
H A D | RowSet.java | 175 * Retrieves the password used to create a database connection. 176 * The password property is set at run time before calling the method 180 * @return the password for making a database connection 186 * Sets the database password for this <code>RowSet</code> object to 189 * @param password the password string 193 void setPassword(String password) throws SQLException; argument 1849 * user name, password, transaction isolation, and type map.
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | KeyManagerFactorySpi.java | 47 * @param password the password for recovering keys 54 protected abstract void engineInit(KeyStore ks, char[] password) throws argument 61 * and password may be needed by a provider. Users of that
|
H A D | KeyManagerFactory.java | 255 * The KeyStore is generally password-protected. 262 * @param password the password for recovering keys in the KeyStore 267 * (e.g. the given password is wrong). 269 public final void init(KeyStore ks, char[] password) throws argument 272 factorySpi.engineInit(ks, password); 281 * and password may be needed by a provider. Users of that
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
H A D | PBEKeySpec.java | 31 * A user-chosen password that can be used with password-based encryption 34 * <p>The password can be viewed as some kind of raw key material, from which 37 * <p>Different PBE mechanisms may consume different bits of each password 43 * <p>You convert the password characters to a PBE key by creating an 46 * of each password character, whereas a secret-key factory for PKCS #12 will 52 * internal value when the password stored in it is no longer needed. Hence, 53 * this class requests the password as a char array, so it can be overwritten 65 private char[] password; field in class:PBEKeySpec 71 * Constructor that takes a password 79 PBEKeySpec(char[] password) argument 107 PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength) argument 150 PBEKeySpec(char[] password, byte[] salt, int iterationCount) argument [all...] |
/libcore/ojluni/src/main/java/javax/security/auth/callback/ |
H A D | PasswordCallback.java | 31 * method of a {@code CallbackHandler} to retrieve password information. 57 * and a boolean specifying whether the password should be displayed 62 * @param prompt the prompt used to request the password. <p> 64 * @param echoOn true if the password should be displayed 90 * Return whether the password 95 * @return the whether the password 103 * Set the retrieved password. 105 * <p> This method makes a copy of the input <i>password</i> 110 * @param password the retrieved password, whic 114 setPassword(char[] password) argument [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | KeyManagerFactorySpiImpl.java | 16 public void engineInit(KeyStore ks, char[] password) argument 20 if (ks == null && password == null) { 28 if (password == null) {
|
H A D | MyKeyManagerFactorySpi.java | 38 protected void engineInit(KeyStore ks, char[] password) argument 41 if (password == null) { 42 throw new KeyStoreException("Incorrect password");
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | SecretKeyFactoryTest.java | 53 // PBEKeySpecs password only constructor 129 char[] password = "password".toCharArray(); 140 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); 141 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); 150 char[] password = ("All n-entities must communicate with other " 164 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); 165 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); 175 char[] password = "\u0141\u0142".toCharArray(); 191 test_PBKDF2_UTF8(password, sal 195 test_PBKDF2_8BIT(char[] password, byte[] salt, int iterations, int keyLength, byte[] expected) argument 206 test_PBKDF2_UTF8(char[] password, byte[] salt, int iterations, int keyLength, byte[] expected) argument [all...] |
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 86 String password) throws SQLException { 88 return DriverManager.getConnection(url, login, password); 85 getConnection(String url, String login, String password) argument
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | KeyStoreSpi.java | 58 * password to recover it. The key must have been associated with 64 * @param password the password for recovering the key 72 * (e.g., the given password is wrong). 74 public abstract Key engineGetKey(String alias, char[] password) argument 127 * password. 139 * @param password the password to protect the key 148 char[] password, 284 * integrity with the given password 147 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 295 engineStore(OutputStream stream, char[] password) argument 349 engineLoad(InputStream stream, char[] password) argument [all...] |
H A D | KeyStore.java | 115 * // get user password and file input stream 116 * char[] password = getPassword(); 119 * ks.load(fis, password); 131 * new KeyStore.PasswordProtection(password); 146 * ks.store(fos, password); 150 * Note that although the same password may be used to 277 * A password-based implementation of {@code ProtectionParameter}. 284 private final char[] password; field in class:KeyStore.PasswordProtection 290 * Creates a password parameter. 292 * <p> The specified {@code password} i 297 PasswordProtection(char[] password) argument 325 PasswordProtection(char[] password, String protectionAlgorithm, AlgorithmParameterSpec protectionParameters) argument 1055 getKey(String alias, char[] password) argument 1166 setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 1409 store(OutputStream stream, char[] password) argument 1481 load(InputStream stream, char[] password) argument [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
H A D | DriverManager.java | 184 * "password" property should be included 203 * @param password the user's password 209 String user, String password) throws SQLException { 215 if (password != null) { 216 info.put("password", password); 208 getConnection(String url, String user, String password) argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyKeyStore.java | 63 public Key engineGetKey(String alias, char[] password) argument 92 public void engineSetKeyEntry(String alias, Key key, char[] password, argument 178 public void engineStore(OutputStream stream, char[] password) argument 201 public void engineLoad(InputStream stream, char[] password) argument
|
H A D | MyKeyStoreSpi.java | 48 public Key engineGetKey(String alias, char[] password) argument 68 public void engineSetKeyEntry(String alias, Key key, char[] password, argument 129 public void engineStore(OutputStream stream, char[] password) argument 142 public void engineLoad(InputStream stream, char[] password) argument
|
H A D | TestKeyStoreSpi.java | 108 public Key engineGetKey(String alias, char[] password) argument 112 if (password == null) { 146 public void engineLoad(InputStream stream, char[] password) argument 154 if (password == null) { 156 } else if (password.length == 0) { 175 char[] password = ((PasswordProtection) pParam).getPassword(); 176 if (password == null) { 197 public void engineSetKeyEntry(String alias, Key key, char[] password, argument 227 public void engineStore(OutputStream stream, char[] password) argument 233 if (password [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLContextTest.java | 400 protected void engineInit(KeyStore ks, char[] password) throws KeyStoreException, argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 96 String password; field in class:FtpURLConnection 187 if (userInfo != null) { // get the user and password 191 password = null; 194 password = ParseUtil.decode(userInfo.substring(delimiter)); 299 password = java.security.AccessController.doPrivileged( 322 ftp.login(user, password.toCharArray()); 326 throw new sun.net.ftp.FtpLoginException("Invalid username/password");
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
H A D | FtpClient.java | 265 * Attempts to log on the server with the specified user name and password. 268 * @param password The password for that user 273 public abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException; argument 276 * Attempts to log on the server with the specified user name, password and 280 * @param password The password for that user. 286 public abstract FtpClient login(String user, char[] password, String account) throws FtpProtocolException, IOException; argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 1029 private void tryLogin(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException { argument 1033 * Checks for "331 User name okay, need password." answer 1036 if ((password != null) && (password.length > 0)) { 1037 issueCommandCheck("PASS " + String.valueOf(password)); 1043 * Attempts to log on the server with the specified user name and password. 1046 * @param password The password for that user 1050 public sun.net.ftp.FtpClient login(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException { argument 1057 tryLogin(user, password); 1088 login(String user, char[] password, String account) argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1966 public static final int password = 0; field in class:R
|