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
 PasswordAdapter getMasterPasswordAdapter()
          Create and return PasswordAdapter using the master password.
 void setMasterPassword(char[] masterPassword)
          Set the domain master password.
 

Method Detail

setMasterPassword

void setMasterPassword(char[] masterPassword)
Set the domain master password.


getMasterPasswordAdapter

PasswordAdapter getMasterPasswordAdapter()
                                         throws java.security.cert.CertificateException,
                                                java.io.IOException,
                                                java.security.KeyStoreException,
                                                java.security.NoSuchAlgorithmException
Create and return PasswordAdapter using the master password.

Returns:
PasswordAdapter using the master password.
Throws:
java.security.cert.CertificateException
java.io.IOException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException


Copyright © 2012 GlassFish Community. All Rights Reserved.