Re: [jboss-dev-forums] [PicketBox Development] - AS7: Utilising masked passwords via the vault
by Geoffrey Bays
Geoffrey Bays [https://community.jboss.org/people/gbays] commented on the document
"AS7: Utilising masked passwords via the vault"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-17472#comment-11831
--------------------------------------------------
I need an example of putting two passwords into the vault and then referencing them in standalone.xml. I have referenced the keystore file and password via the vault in the ssl connector line in standalone.xml, and have put the following reference to the trsutstore and password in as system properties. If I hardcode the unmasked truststore password all works, but even when using teo interactive sessions (so that I get a separate handle for the second password, see bug 901125), I cannot put two passwords into the vault and get the truststore reference to work. I get IOException: keystore was tampered with of password is incorrect.
In standalone.xml:
<system-property>
<property name="javax.net.ssl.trustStore" value="Path /to/truststore/file" />
<property name="javax.net.ssl.trustStorePassword" value="VAULT::truststore_pass::password::YjdkMDU10TMzTdmy........." />
</system-property>
Do I need more lines in the <vault> <vault-option> section to reference the second password? Two vault tags will not parse.
Any suggestions or two password example would be most welcome. I have tried referencing the keystore password with the same vault handle since it is the same--does not work. And I have generated vault dat files using a reference to the keystore alone or with a separate reference to the truststore. Neither approach works.
Thanks Geoffrey Bays
--------------------------------------------------
11 years
[JBoss AS 7 Development] - Logging Id's
by Kabir Khan
Kabir Khan [https://community.jboss.org/people/kabirkhan] modified the document:
"Logging Id's"
To view the document, visit: https://community.jboss.org/docs/DOC-16810
--------------------------------------------------------------
Logging id ranges for JBoss AS7 i18n message interfaces.
|| %1,3% *Status* ||
| C | = | Complete |
| I | = | In Progress |
| P | = | Merged, but not complete |
| W | = | Waiting Merge |
|| *Range* || *Subsystem
* || *Status
* ||
| *10100 - 10199* | *Transaction* | C |
| *10200 - 10399
* | *Clustering**
* | C |
| *10400 - 10499* | *Connector**
* | C |
| *10500 - 10599* | *CLI (not applicable)
* | N/A |
| *10600 - 10699* | *Controller Client* | C |
| *10700 - 10799*, *18500 - 18699, 18800-18999* | *CMP* | C |
| *10800 - 10899* | *Host Controller (domain packages)* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| *11100 - 11199* | *Embedded* | C |
| *11200 - 11299* | *JAXRS* | C |
| *11300 - 11399* | *JMX* | C |
| *11400 - 11499* | *JPA* | C |
| *11500 - 11599* | *Logging* | C |
| *11600 - 11699* | *Messaging* | C |
| *11700 - 11799* | *mod_cluster* | C |
| *11800 - 11899* | *Naming* | C |
| *11900 - 11999* | *OSGi* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *12100 - 12199* | *Protocol* | C |
| *12200 - 12299* | *Management Client Content* | C |
| *12300 - 12399* | *Platform MBeans* | C |
| *12400 - 12499* | *Threads* | C |
| *12500 - 12599* | *PicketLink* | I |
| *12600 - 12699* | *JSF (proposed)* |
|
| *12700 - 13100* | *IIOP Common (proposed)* |
|
| *13100 - 13199* | *JDR* | C |
| *13200 - 13299* | *AppClient* | C |
| *13300 - 13399* | **Security*
* | C |
| *13400 - 13499, 14600 - 14899* | *Controller* | C |
| available block(s) |
|
|
| *14000 - 14099* | *JAXR* | W |
| *14100 - 14599* | *Ejb3* | P |
| **13400 - 13499, 14600 - 14899** | *Controller* | C |
| *14900 - 14999* | *Deployment Repository* | C |
| *15000 - 15099* | *Deployment Scanner* | C |
| *15100 - 15199* | *Domain Management HTTP Interface* | C |
| *15200 - 15299* | *Deployment Management* | C |
| *15300 - 15399* | *Network* | C |
| *15400 - 15499* | *Mail* | C |
| *15500 - 15699* | *Web Services (AS subsystem)* | C |
| *15700 - 15999*, *18700 - 18799* | *Server* | C |
| *1**6000 - 16099* | *Weld* | C |
| *16100 - 16199* | *EE Deployment* | C |
| *16200 - 16299* | *Configadmin* | C |
| *16300 - 16499* | *Jacorb* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| *16800 - 16899* | *Patching (Library)* | C |
| *16900 - 16999* | *Patching (Server)* |
|
| *17000 - 17099* | *POJO* | C |
| *17100 - 17199* | *Remoting* | W |
| *17200 - 17299* | *SAR* | W |
| *17300 - 17699* | *Web/Undertow (reserved)* | I |
| available block(s) |
|
|
| *18000 - 18399* | *Web* | C |
| *18400 - 18499* | *Xts* | C |
| *15700 - 15999, 18700 - 18799* | *Server* | C |
| available block(s) |
|
|
| *19000-19999* | *JSR-77* | I |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-16810]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
11 years
[jBPM Development] - Getting Node Name from Node Instance in jBPM 5.4
by João Guerra
João Guerra [https://community.jboss.org/people/ciberg] created the discussion
"Getting Node Name from Node Instance in jBPM 5.4"
To view the discussion, visit: https://community.jboss.org/message/804567#804567
--------------------------------------------------------------
Hi,
I'm trying to get the node name for a process that at a given moment has a gateway making two tasks active simultaneasly.
The problem is that when I get the NodeInstance collection it seems that it is not iterating correctly, when I use a do/while with a hasNext I enter a infinite loop and only one NodeName is obtained.
Then I changed it for using size, and although the size is correct (in my case size is 2) the getNameName method always returns the same node name as if the iterator was always in the same place.
Can you help me on this?
Here is the code:
> ProcessInstance processInstance = ksession.getProcessInstance(processInstanceId);
> WorkflowProcessInstance workflowProcessInstance = null;
> Collection<NodeInstance> nodes = ((org.jbpm.workflow.instance.WorkflowProcessInstance) processInstance).getNodeInstances();
> int nodeSize = nodes.size();
> System.out.println("Number of nodes - " + nodeSize);
> int count = 0;
> do {
> processTasks = nodes.iterator().next().getNodeName();
> System.out.println(processTasks + " - " + count);
> count = count + 1;
> } while (count < nodes.size());
>
The result of this code is:
Number of nodes - 2
Digitalize Document - 0
Digitalize Document - 1
Instead of:
Number of nodes - 2
Digitalize Document - 0
Insert data - 1
Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804567#804567]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years