com.sun.enterprise.security.ssl.impl
Class MasterPasswordImpl
java.lang.Object
com.sun.enterprise.security.ssl.impl.MasterPasswordImpl
- All Implemented Interfaces:
- MasterPassword, org.jvnet.hk2.component.PreDestroy
@Service(name="Security SSL Password Provider Service")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class MasterPasswordImpl
- extends java.lang.Object
- implements MasterPassword, org.jvnet.hk2.component.PreDestroy
A contract to pass the Glassfish master password between the admin module and
the security module.
- Author:
- Sudarsan Sridhar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterPasswordImpl
public MasterPasswordImpl()
setMasterPassword
public void setMasterPassword(char[] masterPassword)
- Specified by:
setMasterPassword in interface MasterPassword
getMasterPasswordAdapter
public PasswordAdapter getMasterPasswordAdapter()
throws java.security.cert.CertificateException,
java.io.IOException,
java.security.KeyStoreException,
java.security.NoSuchAlgorithmException
- Specified by:
getMasterPasswordAdapter in interface MasterPassword
- Throws:
java.security.cert.CertificateException
java.io.IOException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
preDestroy
public void preDestroy()
- Specified by:
preDestroy in interface org.jvnet.hk2.component.PreDestroy
Copyright © 2012 GlassFish Community. All Rights Reserved.