Package org.glassfish.security.common
Interface MasterPassword
@Contract
public interface MasterPassword
A contract to pass the Glassfish master password between the admin module and
the security module.
- Author:
- Sudarsan Sridhar
-
Method Summary
Modifier and TypeMethodDescriptionchar[]Create and return PasswordAdapter using the master password.
-
Method Details
-
getMasterPasswordAdapter
PasswordAdapter getMasterPasswordAdapter() throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmExceptionCreate and return PasswordAdapter using the master password.- Returns:
- PasswordAdapter using the master password. Never null.
- Throws:
CertificateExceptionIOExceptionKeyStoreExceptionNoSuchAlgorithmException
-
getMasterPassword
char[] getMasterPassword()- Returns:
- null or master password.
-