You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Guy Rixon (JIRA)" <ji...@apache.org> on 2005/08/01 17:48:36 UTC

[jira] Created: (WSS-10) Missing component in WSS4j

Missing component in WSS4j
--------------------------

         Key: WSS-10
         URL: http://issues.apache.org/jira/browse/WSS-10
     Project: WSS4J
        Type: Bug
 Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
    Reporter: Guy Rixon
 Assigned to: Davanum Srinivas 


WSS4J want to use an internal crypto provider but that provider is not included in the release:

java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)

Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Closed: (WSS-10) Missing component in WSS4j

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-10?page=all ]
     
Werner Dittmann closed WSS-10:
------------------------------

    Resolution: Fixed

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317416 ] 

Davanum Srinivas commented on WSS-10:
-------------------------------------

yes, you are right. we need to fix this line.

-- dims

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Closed: (WSS-10) Missing component in WSS4j

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-10?page=all ]
     
Werner Dittmann closed WSS-10:
------------------------------

    Resolution: Fixed

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Guy Rixon (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317415 ] 

Guy Rixon commented on WSS-10:
------------------------------

I agree that I was missing the property that defines the crypto provider.

I think that you may need to change the default value used when the property is missing. In WSS4J 1.0.0, CryptoFactory has this:

  private static final String defaultCryptoClassName = "org.apache.ws.security.components.crypto.BouncyCastle";

Shouldn't that be

  private static final String defaultCryptoClassName = "org.apache.ws.security.components.crypto.Merlin";

?

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Guy Rixon (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317415 ] 

Guy Rixon commented on WSS-10:
------------------------------

I agree that I was missing the property that defines the crypto provider.

I think that you may need to change the default value used when the property is missing. In WSS4J 1.0.0, CryptoFactory has this:

  private static final String defaultCryptoClassName = "org.apache.ws.security.components.crypto.BouncyCastle";

Shouldn't that be

  private static final String defaultCryptoClassName = "org.apache.ws.security.components.crypto.Merlin";

?

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317416 ] 

Davanum Srinivas commented on WSS-10:
-------------------------------------

yes, you are right. we need to fix this line.

-- dims

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317370 ] 

Werner Dittmann commented on WSS-10:
------------------------------------

This is definitly a wrong setup of the crypto property file. WSS4J's only available
crypto provider is "Merlin". We do not have a crapto provider "BouncyCastle".

Pls don't get confused with WSS4J crypto provider which is a provider that
implements access to crypto and keystore mechanisms versus BouncyCastle
that implements a crypto provider for the Java security mechanisms (crypto
classes, etc).

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-10) Missing component in WSS4j

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-10?page=comments#action_12317370 ] 

Werner Dittmann commented on WSS-10:
------------------------------------

This is definitly a wrong setup of the crypto property file. WSS4J's only available
crypto provider is "Merlin". We do not have a crapto provider "BouncyCastle".

Pls don't get confused with WSS4J crypto provider which is a provider that
implements access to crypto and keystore mechanisms versus BouncyCastle
that implements a crypto provider for the Java security mechanisms (crypto
classes, etc).

> Missing component in WSS4j
> --------------------------
>
>          Key: WSS-10
>          URL: http://issues.apache.org/jira/browse/WSS-10
>      Project: WSS4J
>         Type: Bug
>  Environment: Sun JDL 1.4.2 + Axis 1.2.1 + WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas

>
> WSS4J want to use an internal crypto provider but that provider is not included in the release:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.BouncyCastle Not Found
> 	at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:111)
> 	at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> 	at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632)
> 	at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281)
> Note that I have the BouncyCastle jar in the path, but it clearly doesn't have the axis-specific class named above.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org