{"id":70800,"date":"2017-11-24T16:00:27","date_gmt":"2017-11-24T14:00:27","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=70800"},"modified":"2017-11-24T10:30:03","modified_gmt":"2017-11-24T08:30:03","slug":"configure-passwords-payara-server-glassfish","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html","title":{"rendered":"Configure passwords in Payara Server and GlassFish"},"content":{"rendered":"<p>Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of the questions which I answered here was how to <a href=\"https:\/\/stackoverflow.com\/a\/47453368\/784594\">change Payara Server master password in docker container<\/a>. Obviously, in a standard server installation, this is simple \u2013 just use the\u00a0 asadmin change-master-password\u00a0 command, then type the old and new password in to the console and it\u2019s done. Not in docker though, where the configuration has to be automated by a script. The same applies to all infrastructure-as-a-code solutions like Chef or Puppet. So I had to dig deeper into the documentation and experiment a bit.<\/p>\n<h2>Specifying passwords from file<\/h2>\n<p>The key thing in working with passwords in scripts is to provide them in a file. Each asadmin command accepts argument &#8211;passwordfile\u00a0 to instruct it to read all the necessary passwords from it avoid asking for passwords interactively. But it\u2019s a bit tricky to find out how to define passwords in this password file, because it\u2019s used for multiple types of passwords. Oracle documentation for GlassFish v3 which also applies to GlassFish v4 and v5 and Payara v4 and 5 <a href=\"https:\/\/docs.oracle.com\/cd\/E18930_01\/html\/821-2435\/ghgrp.html#ghytn\">documents 4 types of passwords<\/a>. Each type of password can be specified in the password file with a variable with AS_ADMIN_\u00a0 prefix.<\/p>\n<ul>\n<li>admin password with prefix AS_ADMIN_PASSWORD, default is empty password<\/li>\n<li>master password with prefix AS_ADMIN_MASTERPASSWORD , default is \u201cchangeit\u201d<\/li>\n<li>user password with prefix AS_ADMIN_USERPASSWORD<\/li>\n<li>alias password with prefix AS_ADMIN_ALIASPASSWORD<\/li>\n<\/ul>\n<p>So for example, if we need to run a command with admin password \u201cmypassword\u201d, the following line has to be in the password file:<\/p>\n<pre class=\"brush:java\">AS_ADMIN_PASSWORD=mypassword<\/pre>\n<p>And then we can use the password with the\u00a0 &#8211;passwordfile argument, like this:<\/p>\n<pre class=\"brush:java\">asadmin list-applications --passwordfile=mypasswordfile<\/pre>\n<p>The above command won\u2019t wait for typing the password but will immediately list all applications on the server. If the password is incorrect, the command would fail.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h2>Changing passwords from non-interactively from script<\/h2>\n<p>So far, all was documented at least in the old GlassFish v3 documentation. What\u2019s missing in the documentation though is how to specify a new password from file if we want to change it from a script. When we execute a command to change any password (e.g. admin password or master password) without a password file, the command would ask for 2 passwords \u2013 the old one and the new one. Therefore we need to specify 2 passwords in a file.<\/p>\n<p>The solution is to add another variable for a new password into the same password file. Variables for new passwords are prefixed with AS_ADMIN_NEW\u00a0 prefix. Therefore to change the master password, we need the following 2 lines in our password file:<\/p>\n<pre class=\"brush:java\">AS_ADMIN_MASTERPASSWORD=oldmasterpassword\r\nAS_ADMIN_NEWMASTERPASSWORD=newmasterpassword<\/pre>\n<p>And then we can use the 2 passwords with the\u00a0 &#8211;passwordfile argument, like this:<\/p>\n<pre class=\"brush:java\">asadmin change-master-password --passwordfile=mypasswordfile<\/pre>\n<p>The above command won\u2019t wait for typing or retyping any password but will immediately change the master password on the server to newmasterpassword\u00a0. If the old password is incorrect, the command would fail.<\/p>\n<h2>Changing passwords in docker image<\/h2>\n<p>In Docker, the preferred way is to configure the server in the image so that when a container is executed, the configuration is applied automatically. Avoid configuring containers because it\u2019s not easy to run asadmin commands in a container and changing some passwords, such as master password, requires server restart.<\/p>\n<p>The default <a href=\"https:\/\/hub.docker.com\/r\/payara\/server-full\/~\/dockerfile\/\">Payara Server Docker image<\/a> already contains asadmin commands which change the admin password. You can copy the lines that create\u00a0 \/opt\/tmpfile\u00a0 and use it with the\u00a0 change-admin-password\u00a0 command to change the admin password.<\/p>\n<p>The same can be done to change the master password. Below is an example custom Dockerfile to change the master password to newpassword\u00a0:<\/p>\n<pre class=\"brush:java; wrap-lines:false\">&lt;span class=\"pln\"&gt;FROM payara&lt;\/span&gt;&lt;span class=\"pun\"&gt;\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;server&lt;\/span&gt;&lt;span class=\"pun\"&gt;-&lt;\/span&gt;&lt;span class=\"pln\"&gt;full\r\n&lt;\/span&gt;\r\n&lt;span class=\"pun\"&gt;#&lt;\/span&gt;&lt;span class=\"pln\"&gt; specify a &lt;\/span&gt;&lt;span class=\"kwd\"&gt;new&lt;\/span&gt;&lt;span class=\"pln\"&gt; master password &lt;\/span&gt;&lt;span class=\"str\"&gt;\"newpassword\"&lt;\/span&gt;&lt;span class=\"pln\"&gt; instead of the &lt;\/span&gt;&lt;span class=\"kwd\"&gt;default&lt;\/span&gt;&lt;span class=\"pln\"&gt; password &lt;\/span&gt;&lt;span class=\"str\"&gt;\"changeit\"&lt;\/span&gt;&lt;span class=\"pln\"&gt;\r\nRUN echo &lt;\/span&gt;&lt;span class=\"str\"&gt;'AS_ADMIN_MASTERPASSWORD=changeit\\nAS_ADMIN_NEWMASTERPASSWORD=newpassword'&lt;\/span&gt; &lt;span class=\"pun\"&gt;&gt;&gt;&lt;\/span&gt; &lt;span class=\"pun\"&gt;\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;opt&lt;\/span&gt;&lt;span class=\"pun\"&gt;\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;masterpwdfile\r\n \r\n&lt;\/span&gt;&lt;span class=\"pun\"&gt;#&lt;\/span&gt;&lt;span class=\"pln\"&gt; execute asadmin command to apply the &lt;\/span&gt;&lt;span class=\"kwd\"&gt;new&lt;\/span&gt;&lt;span class=\"pln\"&gt; master password\r\nRUN $&lt;\/span&gt;&lt;span class=\"pun\"&gt;{&lt;\/span&gt;&lt;span class=\"pln\"&gt;PAYARA_PATH&lt;\/span&gt;&lt;span class=\"pun\"&gt;}\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;bin&lt;\/span&gt;&lt;span class=\"pun\"&gt;\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;asadmin change&lt;\/span&gt;&lt;span class=\"pun\"&gt;-&lt;\/span&gt;&lt;span class=\"pln\"&gt;master&lt;\/span&gt;&lt;span class=\"pun\"&gt;-&lt;\/span&gt;&lt;span class=\"pln\"&gt;password &lt;\/span&gt;&lt;span class=\"pun\"&gt;--&lt;\/span&gt;&lt;span class=\"pln\"&gt;passwordfile&lt;\/span&gt;&lt;span class=\"pun\"&gt;=\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;opt&lt;\/span&gt;&lt;span class=\"pun\"&gt;\/&lt;\/span&gt;&lt;span class=\"pln\"&gt;masterpwdfile&lt;\/span&gt;<\/pre>\n<p>With the above Dockerfile in your current directory, you can build your custom docker image with:<\/p>\n<pre class=\"brush:java\">docker build -t my-payara\/server-full .<\/pre>\n<p>And then run my-payara\/server-full\u00a0 instead of payara\/server-full.<br \/>\nYou can verify that the master password is change in the docker container when you run it with:<\/p>\n<pre class=\"brush:java\">docker run -t -i --entrypoint keytool payara\/server-full:masterpwd -list -keystore \/opt\/payara41\/glassfish\/domains\/domain1\/config\/keystore.jks<\/pre>\n<p>If you type the new master password, you should see the contents of the key store with the list of certifictes<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on Java Code Geeks with permission by Ondrej Mihalyi, partner at our <a href=\"http:\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener\">JCG program<\/a>. See the original article here: <a href=\"https:\/\/itblog.inginea.eu\/index.php\/configure-passwords-in-payara-server-and-glassfish\/\" target=\"_blank\" rel=\"noopener\">Configure passwords in Payara Server and GlassFish<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of the questions which I answered here was how to change Payara Server master password in docker container. Obviously, in a standard server installation, this is simple \u2013 just use the\u00a0 asadmin change-master-password\u00a0 command, &hellip;<\/p>\n","protected":false},"author":999,"featured_media":112,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1616,1629],"class_list":["post-70800","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-glassfish","tag-payara"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configure passwords in Payara Server and GlassFish - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure passwords in Payara Server and GlassFish - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ondrej.mihalyi\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-24T14:00:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ondrej Mihalyi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@OMihalyi\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ondrej Mihalyi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html\"},\"author\":{\"name\":\"Ondrej Mihalyi\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/f7dc33ceb71e638836451cacd31b5cd7\"},\"headline\":\"Configure passwords in Payara Server and GlassFish\",\"datePublished\":\"2017-11-24T14:00:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html\"},\"wordCount\":712,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"keywords\":[\"GlassFish\",\"Payara\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html\",\"name\":\"Configure passwords in Payara Server and GlassFish - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2017-11-24T14:00:27+00:00\",\"description\":\"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2017\\\/11\\\/configure-passwords-payara-server-glassfish.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Configure passwords in Payara Server and GlassFish\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/f7dc33ceb71e638836451cacd31b5cd7\",\"name\":\"Ondrej Mihalyi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g\",\"caption\":\"Ondrej Mihalyi\"},\"description\":\"Ondrej is a lecturer and consultant inventing and evangelizing new approaches with already proven Java tooling. As a Scrum Master and expert in Java EE ecosystem, he helps companies to build and educate their developer teams, improve their development processes and be flexible and successful in meeting client requirements.\",\"sameAs\":[\"http:\\\/\\\/itblog.inginea.eu\\\/\",\"https:\\\/\\\/www.facebook.com\\\/ondrej.mihalyi\",\"http:\\\/\\\/sk.linkedin.com\\\/in\\\/mihalyiondrej\",\"https:\\\/\\\/x.com\\\/OMihalyi\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/ondrej-mihalyi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure passwords in Payara Server and GlassFish - Java Code Geeks","description":"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html","og_locale":"en_US","og_type":"article","og_title":"Configure passwords in Payara Server and GlassFish - Java Code Geeks","og_description":"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of","og_url":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/www.facebook.com\/ondrej.mihalyi","article_published_time":"2017-11-24T14:00:27+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"image\/jpeg"}],"author":"Ondrej Mihalyi","twitter_card":"summary_large_image","twitter_creator":"@OMihalyi","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Ondrej Mihalyi","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html"},"author":{"name":"Ondrej Mihalyi","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/f7dc33ceb71e638836451cacd31b5cd7"},"headline":"Configure passwords in Payara Server and GlassFish","datePublished":"2017-11-24T14:00:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html"},"wordCount":712,"commentCount":1,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","keywords":["GlassFish","Payara"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html","url":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html","name":"Configure passwords in Payara Server and GlassFish - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2017-11-24T14:00:27+00:00","description":"Answeriing Stackoverflow questions provides a great feedback for finding out gaps in the official documentation of my favourite opensource tools. One of","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2017\/11\/configure-passwords-payara-server-glassfish.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Configure passwords in Payara Server and GlassFish"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/f7dc33ceb71e638836451cacd31b5cd7","name":"Ondrej Mihalyi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f40d314e3924e8a35e3df4aa5496109dcbd39d7e7d895f1e733a5d30fbcac030?s=96&d=mm&r=g","caption":"Ondrej Mihalyi"},"description":"Ondrej is a lecturer and consultant inventing and evangelizing new approaches with already proven Java tooling. As a Scrum Master and expert in Java EE ecosystem, he helps companies to build and educate their developer teams, improve their development processes and be flexible and successful in meeting client requirements.","sameAs":["http:\/\/itblog.inginea.eu\/","https:\/\/www.facebook.com\/ondrej.mihalyi","http:\/\/sk.linkedin.com\/in\/mihalyiondrej","https:\/\/x.com\/OMihalyi"],"url":"https:\/\/www.javacodegeeks.com\/author\/ondrej-mihalyi"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/70800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/999"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=70800"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/70800\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/112"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=70800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=70800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=70800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}