{"id":6527,"date":"2017-03-09T10:18:00","date_gmt":"2017-03-09T02:18:00","guid":{"rendered":"http:\/\/rmohan.com\/?p=6527"},"modified":"2017-03-09T10:18:00","modified_gmt":"2017-03-09T02:18:00","slug":"tcserver-password-encoding-and-decoding","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6527","title":{"rendered":"Tcserver password encoding and decoding"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Tc Server 3.2.0 introduced a new command for encoding passwords<\/p>\n<p>&nbsp;<\/p>\n<p>.\/tcruntime-admin.sh encode mypassword passkey<\/p>\n<p>&nbsp;<\/p>\n<p>Please, take a look at following link for more information<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/tcserver.docs.pivotal.io\/docs-tcserver\/topics\/manual.html#obfusc\">http:\/\/tcserver.docs.pivotal.io\/docs-tcserver\/topics\/manual.html#obfusc<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The old style can still be used but a new property is needed and the jasypt can be left off the classpath as they are found automatically now based on catalina.home.<\/p>\n<p>&nbsp;<\/p>\n<p>So your commmand would look like<\/p>\n<p>&nbsp;<\/p>\n<p>\/usr\/mware\/java\/bin\/java -cp \/usr\/mware\/tcServer\/tomcat-8.5.9.B.RELEASE\/lib\/tcServer3.jar:\\<\/p>\n<p>\/usr\/mware\/tcServer\/tomcat-8.5.9.B.RELEASE\/bin\/tomcat-juli.jar::\\<\/p>\n<p>\/usr\/mware\/tcServer\/tomcat-8.5.9.B.RELEASE\/lib\/tomcat-util.jar:: \\ -Dcatalina.home=\/usr\/mware\/tcServer\/tomcat-8.5.9.B.RELEASE\/ \\ com.springsource.tcserver.security.PropertyDecoder -encode passkey mypassword<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;<\/p>\n<p>Tc Server 3.2.0 introduced a new command for encoding passwords<\/p>\n<p>&nbsp;<\/p>\n<p>.\/tcruntime-admin.sh encode mypassword passkey<\/p>\n<p>&nbsp;<\/p>\n<p>Please, take a look at following link for more information<\/p>\n<p>&nbsp;<\/p>\n<p>http:\/\/tcserver.docs.pivotal.io\/docs-tcserver\/topics\/manual.html#obfusc<\/p>\n<p>&nbsp;<\/p>\n<p>The old style can still be used but a new property is needed and the jasypt can be left off the classpath as they are [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6527"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6527"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6527\/revisions"}],"predecessor-version":[{"id":6528,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6527\/revisions\/6528"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}