[JBoss Web Services] - Looking for keys in the wrong place
by Federico Jorge
Federico Jorge [http://community.jboss.org/people/fedejofa] created the discussion
"Looking for keys in the wrong place"
To view the discussion, visit: http://community.jboss.org/message/577213#577213
--------------------------------------------------------------
Hi, i found that when a client use X509 Certificate Token Reference:
* keyIdentifier
or
* x509IssuerSerial
the server looks for the keys in the keystore instead of the truststore.
In the case of:
* directReference (+default+)
the server looks for the key in the truststore.
I have veryfied this with some other guy, and i test this several times.
I know this might be not very important, but i would like your opinions if i should report a jira with the 'bug'.
I will try to look forward a solution for this.
--
The other thing i found is that when receiving x509IssuerSerial from SoapUI (i think it use some apache implementation, but nnot sure)
the IssuerName is send as:
CN=Entidad Cert. TEST de Sistema de Transporte Metropolitano,*OU=STM,O=IMM,C=UY*
but what Jboss expected is:
CN=Entidad Cert. TEST de Sistema de Transporte Metropolitano*, OU=STM, O=IMM, C=UY*
I tried to look for the standard to determine if the problem is from SoapUI or if Jboss should support receiving the IssuerName without spaces after comma but dont find nothing strictly talking about this.
Anyway im quite new to all this security stuff. I would like to hear an experienced voice.
Greetings.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577213#577213]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JBoss Cache] - Atomikos Tx with Hibernate and JBossCache
by sonam nepali
sonam nepali [http://community.jboss.org/people/sonam.nepali] created the discussion
"Atomikos Tx with Hibernate and JBossCache"
To view the discussion, visit: http://community.jboss.org/message/571841#571841
--------------------------------------------------------------
Hi
I am using Atomikos transaction manager with JBosscache and Hibernate.
I have injected java TransactionManager into the JBosscache as stated in their documentation. Hibernate looks up the transactionManager using the properties configuration.
The following is what I have for test purposes:
1. I programatically start a Java Transaction.
2. I do two things:
a. I save an object into JBosscache programmatically using "put" operation.
b. Then I call my PersonDaoImpl to save a "Person" object.
3. Finally I commit the Java Transaction.
Now this is what has happened according to the log file:
1. The object is saved in the table. I verified it in the table.
2. After the transaction state has entered in the "TERMINATED" state, then the JBossCache tried to commit the changes. However, there is no transaction at this point. JBossCache gives the following error:
- Received JTA STATUS_UNKNOWN in afterCompletion()! XA resources may not be in sync
Can any one shed light on this?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571841#571841]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months