Searched defs:password (Results 1 - 25 of 95) sorted by relevance

1234

/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/
H A DComKeyManagerFactoryImpl.java33 protected void engineInit(KeyStore ks, char [] password) argument
/openjdk7/jdk/src/share/classes/javax/sql/
H A DConnectionPoolDataSource.java62 * @param password the user's password
71 PooledConnection getPooledConnection(String user, String password) argument
H A DDataSource.java91 * @param password the user's password
96 Connection getConnection(String username, String password) argument
H A DXADataSource.java58 * 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
/openjdk7/jdk/src/share/classes/java/net/
H A DPasswordAuthentication.java31 * 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/test/com/sun/security/sasl/
H A DClientCallbackHandler.java33 private String password = "test123"; field in class:ClientCallbackHandler
60 password.toCharArray());
121 // Process name/password callbacks using superclass
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DClientCallbackHandler.java33 private String password = "test123"; field in class:ClientCallbackHandler
60 password.toCharArray());
121 // Process name/password callbacks using superclass
/openjdk7/jdk/test/sun/net/www/ftptest/
H A DFtpAuthHandler.java29 * 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/jdk/src/share/classes/javax/net/ssl/
H A DKeyManagerFactorySpi.java47 * @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 DKeyManagerFactory.java242 * The KeyStore is generally password-protected.
249 * @param password the password for recovering keys in the KeyStore
254 * (e.g. the given password is wrong).
256 public final void init(KeyStore ks, char[] password) throws argument
259 factorySpi.engineInit(ks, password);
268 * and password may be needed by a provider. Users of that
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/
H A DKeyManagerFactorySpi.java53 * @param password the password for recovering keys
55 protected abstract void engineInit(KeyStore ks, char[] password) argument
H A DKeyManagerFactory.java204 * @param password the password for recovering keys
206 public void init(KeyStore ks, char[] password) argument
209 factorySpi.engineInit(ks, password);
/openjdk7/jdk/test/sun/security/mscapi/
H A DKeyStoreCompatibilityMode.java72 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/test/sun/security/pkcs11/Provider/
H A DLogin.java36 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/src/share/classes/javax/security/auth/callback/
H A DPasswordCallback.java31 * 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/src/share/classes/javax/crypto/spec/
H A DPBEKeySpec.java31 * 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/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DAuthInfo.java41 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/rsa/
H A DGenKeyStore.java44 static final char[] password = "test12".toCharArray(); field in class:GenKeyStore
72 ks.setKeyEntry(name, privKey, password, new X509Certificate[] {cert});
107 ks.store(out, password);
H A DTestKeyFactory.java42 private static final char[] password = "test12".toCharArray(); field in class:TestKeyFactory
47 ks.load(in, password);
136 test(kf, ks.getKey(alias, password));
H A DTestSignatures.java41 private static final char[] password = "test12".toCharArray(); field in class:TestSignatures
50 ks.load(in, password);
103 PrivateKey privateKey = (PrivateKey)ks.getKey(alias, password);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DKeyProtector.java52 * p - user password
60 * Take the user's password, append a random salt (of fixed size) to it,
65 * Take the user's password, append the digest result from the previous step,
89 * Then concatenate the password with the recovered key, and compare with the
112 // The password used for protecting/recovering keys passed through this
121 * password.
123 * <p>The password is expected to be in printable ASCII.
124 * Normal rules for good password selection apply: at least
129 public KeyProtector(char[] password) argument
134 if (password
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DKeyManagerFactoryImpl.java59 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/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpecException2.java81 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/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerModule.java39 // username and password
41 private char[] password; field in class:DefaultHandlerModule
54 // prompt for a username and password
H A DModuleSubjectModule.java39 // username and password
41 private char[] password; field in class:ModuleSubjectModule

Completed in 576 milliseconds

1234