What is the master master password often referred to in Glassfish ? In this post I sharing with you some of the basic points regard the master password that can help you to administer your server confidently.
Another point worth mentioning is that the master password is not transmitted over the network nor is it used for authentication.
It is saved for the DAS and all the instances in the domain. Contrary to what you may have in mind, the default master password is 'changeit' and not 'adminadmin'
For each domain like domain1 is it located inside C:\glassfishv3\glassfish\domains\domain1
cmd: asadmin> create-domain --savemasterpassword domain1
Start a domain:
asadmin> start-domain domain1
stop a domain:
asadmin> stop-domain domain1
You will have noticed that you are not prompted to enter the master password when it is starting the DAS just because it has been saved.
Change master password for a domain:
asadmin> change-master-password --savemasterpassword domain1
Delete a domain:
asadmin> delete-domain domain1
No comments:
Post a Comment