Class MasterPasswordImpl
- java.lang.Object
-
- com.sun.enterprise.security.ssl.impl.MasterPasswordImpl
-
- All Implemented Interfaces:
MasterPassword
@Service(name="Security SSL Password Provider Service") @Singleton public class MasterPasswordImpl extends Object implements MasterPassword
A contract to pass the Payara master password between the admin module and the security module.- Author:
- Sudarsan Sridhar
-
-
Constructor Summary
Constructors Constructor Description MasterPasswordImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]getMasterPassword()PasswordAdaptergetMasterPasswordAdapter()Create and return PasswordAdapter using the master password.
-
-
-
Method Detail
-
getMasterPasswordAdapter
public PasswordAdapter getMasterPasswordAdapter() throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException
Description copied from interface:MasterPasswordCreate and return PasswordAdapter using the master password.- Specified by:
getMasterPasswordAdapterin interfaceMasterPassword- Returns:
- PasswordAdapter using the master password.
- Throws:
CertificateExceptionIOExceptionKeyStoreExceptionNoSuchAlgorithmException
-
getMasterPassword
public char[] getMasterPassword()
-
-