[JBoss JIRA] Commented: (JBWS-1594) Support certificate password different from keystore
by Peter Johnson (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1594?page=comments#action_12365459 ]
Peter Johnson commented on JBWS-1594:
-------------------------------------
Thanks, Thomas. I will get the source, give it a spin, and let you know, hopefully within the next few days (warning: I am really swamped right now, so it might be quite a few days).
> Support certificate password different from keystore
> ----------------------------------------------------
>
> Key: JBWS-1594
> URL: http://jira.jboss.com/jira/browse/JBWS-1594
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ws-security
> Affects Versions: jbossws-2.0.0.Beta, jbossws-1.2.0, jbossws-1.2.0.SP1, jbossws-2.0.0.CR5
> Reporter: Peter Johnson
> Assigned To: Thomas Diesler
> Priority: Critical
> Fix For: jbossws-2.0.0
>
> Attachments: patch.txt
>
>
> If I generate a certificate and use a different password for it than what I used for the keystore, then I get a key not found error on the server when an ecnrypted SOAP message is sent. The problem appears to be in the SecurityStore.getPrivateKey method, this line:
> key = (PrivateKey)keyStore.getKey(alias, decryptPassword(keyStorePassword).toCharArray());
> which assumes that the keystore password is also associated with the certificate.
> I also checked jboss-ws-security_1_0.xsd to see if there was a way to provide a password along with the alias in the tag, but there was none.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Commented: (JBWS-1617) JAXRPC doc/literal trims empty string
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1617?page=comments#action_12365396 ]
Thomas Diesler commented on JBWS-1617:
--------------------------------------
[tdiesler@tddell jbossws-core]$ ant -Dtest=org.jboss.test.ws.jaxrpc.marshall.MarshallDocLitTestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.marshall.MarshallDocLitTestCase
[junit] FIXME: [JBWS-1617] JAXRPC doc/literal trims empty string
[junit] Tests run: 63, Failures: 1, Errors: 0, Time elapsed: 18.519 sec
[junit] Test org.jboss.test.ws.jaxrpc.marshall.MarshallDocLitTestCase FAILED
> JAXRPC doc/literal trims empty string
> -------------------------------------
>
> Key: JBWS-1617
> URL: http://jira.jboss.com/jira/browse/JBWS-1617
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-jaxrpc
> Reporter: Thomas Diesler
> Assigned To: Alexey Loubyansky
> Fix For: jbossws-2.0.0
>
>
> ant -Dtest=jaxrpc/marshall test
> Testcase: testString took 0.16 sec
> FAILED
> expected:< > but was:<>
> junit.framework.ComparisonFailure: expected:< > but was:<>
> at org.jboss.test.ws.jaxrpc.marshall.MarshallTest.testString(MarshallTest.java:613)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Commented: (JBWS-1617) JAXRPC doc/literal trims empty string
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1617?page=comments#action_12365395 ]
Thomas Diesler commented on JBWS-1617:
--------------------------------------
Whitespace is trimmed in jbossxb-1.0.0.GA
org.jboss.xb.binding.Content:214
public void characters(char[] ch, int start, int length)
{
Characters characters = new Characters(ch, start, length);
// ignore whitespace-only characters
if(characters.toString().trim().length() > 0)
{
content.add(characters);
if(trace)
{
log.trace("characters> " + characters);
}
}
}
> JAXRPC doc/literal trims empty string
> -------------------------------------
>
> Key: JBWS-1617
> URL: http://jira.jboss.com/jira/browse/JBWS-1617
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-jaxrpc
> Reporter: Thomas Diesler
> Assigned To: Thomas Diesler
> Fix For: jbossws-2.0.0
>
>
> ant -Dtest=jaxrpc/marshall test
> Testcase: testString took 0.16 sec
> FAILED
> expected:< > but was:<>
> junit.framework.ComparisonFailure: expected:< > but was:<>
> at org.jboss.test.ws.jaxrpc.marshall.MarshallTest.testString(MarshallTest.java:613)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Reopened: (JBWS-895) Provide support for policy attachments
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-895?page=all ]
Thomas Diesler reopened JBWS-895:
---------------------------------
> Provide support for policy attachments
> --------------------------------------
>
> Key: JBWS-895
> URL: http://jira.jboss.com/jira/browse/JBWS-895
> Project: JBoss Web Services
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: ws-policy
> Reporter: Heiko Braun
> Assigned To: Stefano Maestri
> Fix For: jbossws-2.1.1
>
>
> Web Services Policy Attachment (WS-PolicyAttachment),
> defines two general-purpose mechanisms for associating policies with the subjects to
> which they apply; the policies may be defined as part of existing metadata about the
> subject or the policies may be defined independently and associated through an external
> binding to the subject.
> Relevant to JBossWS are the following questions:
> - How to reference policies from WSDL definitions.
> - How to associate policies with deployed Web service endpoints.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months