[JBoss Web Services] - Migrating secured WS from JBoss 5.1 to 7.1.1
by Xavier Dury
Xavier Dury [https://community.jboss.org/people/xdury] created the discussion
"Migrating secured WS from JBoss 5.1 to 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/780326#780326
--------------------------------------------------------------
Hi,
I've been migrating one of our projects from JBoss 5.1 to 7.1.1, all was done without too much problems but I'm stuck on the security configuration for a Web Service (which does not have WS-Security Policy):
In JBoss 5.1, configuring WS-Security was done within the file "META-INF/jboss-wsse-server.xml"
<jboss-ws-security>
<key-store-file>${wsse.keystore}</key-store-file>
<key-store-type>jks</key-store-type>
<key-store-password>${wsse.keystore.password}</key-store-password>
<trust-store-file>${wsse.truststore}</trust-store-file>
<trust-store-type>jks</trust-store-type>
<trust-store-password>${wsse.truststore.password}</trust-store-password>
<config>
<timestamp ttl="3000" />
<sign type="x509v3" alias="${wsse.keystore.alias}" />
<requires>
<timestamp maxAge="3000" />
<signature />
</requires>
</config>
</jboss-ws-security>
So, I just need requests and responses to be signed and timestamped but I have a hard time understanding how to achieve this in AS7.1.1.
I've read the page https://docs.jboss.org/author/display/JBWS/WS-Security https://docs.jboss.org/author/display/JBWS/WS-Security, but it didn't help.
Do I need to configure this via jbossws-cxf.xml? (tried this but seems to be ignored)
Is it available out-of-the-box in JBoss AS7.1.1? (I see spring is being used but there are no spring jars in the distribution)
I must be missing something...
Thanks,
Xavier
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/780326#780326]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 8 months
[JBoss Cache] - [jboss eap 5.1.2] node's invalidation cache cleared by each other
by Bond Chan
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion
"[jboss eap 5.1.2] node's invalidation cache cleared by each other"
To view the discussion, visit: https://community.jboss.org/message/788169#788169
--------------------------------------------------------------
greetings,
I'm using jboss cahce 3.2.8 shiped with jboss eap 5.1.2:
step 1: @node A click a link on the browser
-> 153 nodes with values at nodeA
-> 153 nodes without values at nodeB
step 2: @node B click the same link on the browser
-> 153 nodes with values at nodeB
-> 153 nodes without values at nodeA
Then loop the step1 and step2 having the same result of each, so one node always having no values, I tried MVCC and OPTIMISTIC, result is same.
but OPTIMISTIC having the warning :
2013-01-05 19:08:26,540 WARN [org.jboss.cache.interceptors.InvalidationInterceptor] (main:) Unable to broadcast evicts as a part of the prepare phase. Rolling back.
org.jboss.cache.optimistic.DataVersioningException: Node found, but version is not equal to or less than the expected [Ver=1]. Is [Ver=2] instead!
at org.jboss.cache.commands.legacy.write.VersionedInvalidateCommand.perform(VersionedInvalidateCommand.java:115)
at org.jboss.cache.interceptors.CallInterceptor.invokeCommand(CallInterceptor.java:108)
at org.jboss.cache.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:99)
at org.jboss.cache.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:90)
at org.jboss.cache.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:125)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/788169#788169]
Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 8 months