/openjdk7/jdk/src/share/classes/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...] |
/openjdk7/jdk/src/share/classes/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...] |
/openjdk7/jdk/test/sun/net/www/ftptest/ |
H A D | FtpAuthHandler.java | 29 * 2 = username/password 30 * 3 = username/password/account 38 public boolean authenticate(String user, String password); argument 39 public boolean authenticate(String user, String password, String account); argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | AuthInfo.java | 41 private final String password; field in class:AuthInfo 44 public AuthInfo(@NotNull URL url, @NotNull String user, @NotNull String password){ argument 47 this.password = password; 55 return password;
|
/openjdk7/jdk/test/sun/security/mscapi/ |
H A D | KeyStoreCompatibilityMode.java | 72 char[] password = new char[1]; 76 testLoadStore(myKeyStore2, null, password, true); 78 testLoadStore(rootKeyStore2, inStream, password, true); 82 testLoadStore(myKeyStore2, null, password, false); 84 testLoadStore(rootKeyStore2, outStream, password, false); 88 char[] password, boolean doLoad) throws Exception { 91 String passwordValue = password == null ? "null" : "non-null"; 94 "(stream=" + streamValue + ", password=" + passwordValue + ")..."); 99 keyStore.load((InputStream) stream, password); 101 keyStore.store((OutputStream) stream, password); 87 testLoadStore(KeyStore keyStore, Object stream, char[] password, boolean doLoad) argument [all...] |
/openjdk7/jdk/src/share/classes/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
|
/openjdk7/jdk/src/share/classes/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 | XADataSource.java | 58 * user name and password. The connection that is returned is one that 62 * @param password the user's password 71 XAConnection getXAConnection(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
|
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/ |
H A D | KeyManagerFactorySpi.java | 53 * @param password the password for recovering keys 55 protected abstract void engineInit(KeyStore ks, char[] password) argument
|
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthSequence.java | 41 private String password; field in class:NTLMAuthSequence 60 NTLMAuthSequence (String username, String password, String ntdomain) argument 64 this.password = password; 68 crdHandle = getCredentialsHandle (username, ntdomain, password); 93 private native long getCredentialsHandle (String user, String domain, String password); argument
|
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/ |
H A D | GetKeySpecException2.java | 81 private char[] password = null; field in class:MyPBEKey 83 MyPBEKey(char[] password) { argument 84 this.password = (char[]) password.clone(); 90 return (char[]) password.clone();
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/ |
H A D | NegotiateCallbackHandler.java | 46 private char[] password; field in class:NegotiateCallbackHandler 49 * Authenticator asks for username and password in a single prompt, 71 * password are assigned null. No exception is thrown. 75 password = passAuth.getPassword(); 90 ((PasswordCallback)callBack).setPassword(password); 91 if (password != null) Arrays.fill(password, ' ');
|
/openjdk7/jdk/src/share/classes/javax/security/auth/callback/ |
H A D | PasswordCallback.java | 31 * method of a <code>CallbackHandler</code> 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...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/ |
H A D | ComKeyManagerFactoryImpl.java | 33 protected void engineInit(KeyStore ks, char [] password) argument
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | KeyManagerFactoryImpl.java | 59 protected void engineInit(KeyStore ks, char[] password) throws argument 68 keyManager = new SunX509KeyManagerImpl(ks, password); 83 protected void engineInit(KeyStore ks, char[] password) throws argument 96 new PasswordProtection(password));
|
/openjdk7/jdk/test/sun/security/pkcs11/Provider/ |
H A D | Login.java | 36 private static char[] password; field in class:Login 60 System.out.println("*** enter [foo] as the password ***"); 61 password = new char[] { 'f', 'o', 'o' }; 73 System.out.println("*** enter [foo] as the password ***"); 74 password = new char[] { 'f', 'o', 'o' }; 86 System.out.println("*** enter test12 (correct) password ***"); 87 password = new char[] { 't', 'e', 's', 't', '1', '2' }; 104 // call KeyStore.load with a NULL password, and get prompted for PIN 117 pc.setPassword(Login.password);
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/ |
H A D | PreferredKey.java | 59 char [] password = passwd.toCharArray(); 62 ks.load(new FileInputStream(keyFilename), password); 64 kmf.init(ks, password);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | KrbAsReqBuilder.java | 47 * 4. Emit credentials and secret keys (for JAAS storeKey=true with password) 54 * 2. Stores its own copy of password, this means: 79 private final char[] password; field in class:KrbAsReqBuilder 124 this.password = null; 128 * Creates a builder to be used by {@code cname} with a known password. 141 this.password = pass.clone(); 147 * the client supplies password but need keys to act as an acceptor. For 152 * @return generated keys from password. PA-DATA from server might be used. 154 * @throws IllegalStateException if not constructed from a password 159 if (password ! [all...] |
/openjdk7/jdk/make/sun/management/ |
H A D | Makefile | 54 jmxremotefiles: $(MGMT_LIBDIR)/jmxremote.password.template $(MGMT_LIBDIR)/jmxremote.access 64 $(MGMT_LIBDIR)/jmxremote.password.template: $(MGMT_LIB_SRC)/jmxremote.password.template
|
/openjdk7/jdk/test/java/security/KeyStore/ |
H A D | EntryMethods.java | 43 private static char[] password = {'f', 'o', 'o', 'b', 'a', 'r'}; field in class:EntryMethods 110 ks.load(pre15fis, password); 114 new KeyStore.PasswordProtection(password)); 138 new KeyStore.PasswordProtection(password)); 157 // TEST getEntry with alias/bad password - get private key 179 e = ks.getEntry("privkey", new KeyStore.PasswordProtection(password)); 200 new KeyStore.PasswordProtection(password)); 210 new KeyStore.PasswordProtection(password)); 241 new KeyStore.PasswordProtection(password)); 243 new KeyStore.PasswordProtection(password)); 365 engineGetKey(String alias, char[] password) argument 384 engineSetKeyEntry(String alias, Key key, char[] password, java.security.cert.Certificate[] chain) argument 433 engineStore(OutputStream stream, char[] password) argument 438 engineLoad(InputStream stream, char[] password) argument [all...] |
/openjdk7/jdk/src/share/classes/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...] |
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | KeyProtector.java | 94 // the password used for protecting/recovering keys passed through this 96 private char[] password; field in class:KeyProtector 100 KeyProtector(char[] password) { argument 101 if (password == null) { 102 throw new IllegalArgumentException("password can't be null"); 104 this.password = password; 108 * Protects the given cleartext private key, using the password provided at 121 // create PBE key from password 122 PBEKeySpec pbeKeySpec = new PBEKeySpec(this.password); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | JavaKeyStore.java | 102 * password to recover it. 105 * @param password the password for recovering the key 113 * (e.g., the given password is wrong). 115 public Key engineGetKey(String alias, char[] password) argument 123 if (password == null) { 127 KeyProtector keyProtector = new KeyProtector(password); 223 * it with the given password as defined in PKCS8. 235 * @param password the password t 243 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 487 engineStore(OutputStream stream, char[] password) argument 622 engineLoad(InputStream stream, char[] password) argument 785 getPreKeyedHash(char[] password) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/ |
H A D | Server.java | 131 char[] password = getPassword(domain, username); 132 if (password == null) { 141 byte[] pw1 = getP1(password); 149 byte[] pw2 = getP2(password); 159 byte[] pw2 = getP2(password); 169 byte[] pw2 = getP2(password); 201 * Retrieves the password for a given user. This method should be 205 * @return the password for the user, or null if unknown
|