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 CertificateException,
                                                IOException,
                                                KeyStoreException,
                                                NoSuchAlgorithmException
Create and return PasswordAdapter using the master password.

Returns:
PasswordAdapter using the master password.
Throws:
CertificateException
IOException
KeyStoreException
NoSuchAlgorithmException


Copyright © 2012 GlassFish Community. All Rights Reserved.