Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Java

Encrypt password with JBoss

java -cp lib/jboss-common.jar;lib/jboss-jmx.jar;server/default/lib/jbosssx.jar;server/default/lib/jboss-jca.jar org.jboss.resource.secu
rity.SecureIdentityLoginModule secretPassword
https://snipt.net/embed/4621e6cbbc025911f5cb064fa309ea9d/
https://snipt.net/raw/4621e6cbbc025911f5cb064fa309ea9d/
4621e6cbbc025911f5cb064fa309ea9d
java
Java
2
2016-12-07T05:33:09
True
False
False
Nov 11, 2012 at 05:22 PM
/api/public/snipt/50025/
encrypt-password-with-jboss
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="n">java</span> <span class="o">-</span><span class="n">cp</span> <span class="n">lib</span><span class="o">/</span><span class="n">jboss</span><span class="o">-</span><span class="n">common</span><span class="o">.</span><span class="na">jar</span><span class="o">;</span><span class="n">lib</span><span class="o">/</span><span class="n">jboss</span><span class="o">-</span><span class="n">jmx</span><span class="o">.</span><span class="na">jar</span><span class="o">;</span><span class="n">server</span><span class="o">/</span><span class="k">default</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">jbosssx</span><span class="o">.</span><span class="na">jar</span><span class="o">;</span><span class="n">server</span><span class="o">/</span><span class="k">default</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">jboss</span><span class="o">-</span><span class="n">jca</span><span class="o">.</span><span class="na">jar</span> <span class="n">org</span><span class="o">.</span><span class="na">jboss</span><span class="o">.</span><span class="na">resource</span><span class="o">.</span><span class="na">secu</span> </span><span id="L-2"><a name="L-2"></a><span class="n">rity</span><span class="o">.</span><span class="na">SecureIdentityLoginModule</span> <span class="n">secretPassword</span> </span></pre></div> </td></tr></table>
JBoss, Java, encrypt
Copyrighted, illegal, or inappropriate content? Email [email protected].