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()
PasswordAdapter
getMasterPasswordAdapter()
Create and return PasswordAdapter using the master password.
-
-
-
Method Detail
-
getMasterPasswordAdapter
public PasswordAdapter getMasterPasswordAdapter() throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException
Description copied from interface:MasterPassword
Create and return PasswordAdapter using the master password.- Specified by:
getMasterPasswordAdapter
in interfaceMasterPassword
- Returns:
- PasswordAdapter using the master password.
- Throws:
CertificateException
IOException
KeyStoreException
NoSuchAlgorithmException
-
getMasterPassword
public char[] getMasterPassword()
-
-