org.glassfish.admin.mbeanserver.ssl
Class JMXMasterPasswordImpl

java.lang.Object
  extended by org.glassfish.admin.mbeanserver.ssl.JMXMasterPasswordImpl
All Implemented Interfaces:
MasterPassword, org.jvnet.hk2.component.PreDestroy

@Service(name="JMX SSL Password Provider Service")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class JMXMasterPasswordImpl
extends java.lang.Object
implements MasterPassword, org.jvnet.hk2.component.PreDestroy

Created by IntelliJ IDEA. User: naman Date: 13 Jan, 2011 Time: 11:46:39 AM To change this template use File | Settings | File Templates.


Constructor Summary
JMXMasterPasswordImpl()
           
 
Method Summary
 char[] getMasterPassword()
           
 PasswordAdapter getMasterPasswordAdapter()
           
 void preDestroy()
           
 void setMasterPassword(char[] masterPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXMasterPasswordImpl

public JMXMasterPasswordImpl()
Method Detail

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

getMasterPassword

public char[] getMasterPassword()

preDestroy

public void preDestroy()
Specified by:
preDestroy in interface org.jvnet.hk2.component.PreDestroy


Copyright © 2012 GlassFish Community. All Rights Reserved.