Re: [jboss-dev-forums] [JBoss AS 7 Development] - JBoss AS7 Securing Passwords
by Gregory Charles
Gregory Charles [https://community.jboss.org/people/gregcharles] commented on the document
"JBoss AS7 Securing Passwords"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-17248#comment-8828
--------------------------------------------------
This seems to me to solve a problem we didn't have. In JBoss 7.0.2, I was able to encrypt the database password with this:
java -cp %JBOSS_HOME%\modules\org\picketbox\main\picketbox-4.0.1.jar;%JBOSS_HOME%\modules\org\jboss\logging\main\jboss-logging-3.0.1.GA.jar org.picketbox.datasource.security.SecureIdentityLoginModule password-to-encrypt
I don't need a "Vault" to hold the database password. Why would I?
What I do need is a way to encrypt the password into the Java keystore that holds the site certifcate used to enable https connections. I could do this in JBoss 4.2.3, but that mechanism no longer exists in JBoss 7. It's not at all clear to me from this article that the Vault helps me do this, or how I would make it work.
--------------------------------------------------
12 years, 12 months
[JBoss Web Development] - how to apply javascript on jboss portal server
by Ankit Dwivedi
Ankit Dwivedi [https://community.jboss.org/people/rajivia] created the discussion
"how to apply javascript on jboss portal server"
To view the discussion, visit: https://community.jboss.org/message/647550#647550
--------------------------------------------------------------
Hi,
I am new on this tech. Currently I am using jsf 1.2 & Jboss Portal server to develop my application. I want to apply JavaScript on my portlet
But problem is that when we apply java Script and get component value by *documnet.getElementById([FormName]:[componentId]).value* we can't get component value. Because when we observer our page source code at browser the copmonent Id become change.
To avoid this problem I palce my script tag in jboss-portlet.xml. Like this......
<portlet>
<portlet-name>bookMasterRefPortlet</portlet-name>
<header-content>
<script src="/css/test.js" type="text/javascript"></script>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</header-content>
</portlet>
After doing this my problem remain same.
Plz provide some help how to apply javascript.................
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647550#647550]
Start a new discussion in JBoss Web Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months