[jira] [Commented] (CXF-3721) WS-Security does not work if java.security.Key.getEncoded() returns null for private and secret keys

2011-08-10 Thread Sergey Zhemzhitsky (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082240#comment-13082240
 ] 

Sergey Zhemzhitsky commented on CXF-3721:
-

Hi Colm,

This issue is related to wss4j project, that believes that 
java.security.Key.getEncoded() will return any not null value, but there are 
JCP implementations which return nulls for private and symmetric keys to 
preserve security, so I think it can be closed for now.

> WS-Security does not work if java.security.Key.getEncoded() returns null for 
> private and secret keys 
> -
>
> Key: CXF-3721
> URL: https://issues.apache.org/jira/browse/CXF-3721
> Project: CXF
>  Issue Type: Bug
>  Components: WS-* Components
>Affects Versions: 2.4.1
>Reporter: Sergey Zhemzhitsky
>  Labels: ws-security
> Fix For: NeedMoreInfo
>
>
> WS-Security does not work if java.security.Key.getEncoded() returns null for 
> private and secret keys.
> According to the javadoc 
> http://download.oracle.com/javase/6/docs/api/java/security/Key.html#getEncoded()
>  this method may return null values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CXF-3721) WS-Security does not work if java.security.Key.getEncoded() returns null for private and secret keys

2011-08-09 Thread Colm O hEigeartaigh (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081518#comment-13081518
 ] 

Colm O hEigeartaigh commented on CXF-3721:
--


Could you attach the stack-trace? What is your use-case?

Colm.

> WS-Security does not work if java.security.Key.getEncoded() returns null for 
> private and secret keys 
> -
>
> Key: CXF-3721
> URL: https://issues.apache.org/jira/browse/CXF-3721
> Project: CXF
>  Issue Type: Bug
>  Components: WS-* Components
>Affects Versions: 2.4.1
>Reporter: Sergey Zhemzhitsky
>  Labels: ws-security
>
> WS-Security does not work if java.security.Key.getEncoded() returns null for 
> private and secret keys.
> According to the javadoc 
> http://download.oracle.com/javase/6/docs/api/java/security/Key.html#getEncoded()
>  this method may return null values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira