Some work on UsernameToken derived keys
---------------------------------------

                 Key: WSS-111
                 URL: https://issues.apache.org/jira/browse/WSS-111
             Project: WSS4J
          Issue Type: Bug
            Reporter: Colm O hEigeartaigh
            Assignee: Ruchith Udayanga Fernando
            Priority: Minor



The UsernameToken profile 1.1 provides for using UsernameTokens for key 
derivation (section 4: Key Derivation). We currently have some limited support 
in UsernameToken.java for generating and parsing UsernameTokens with derived 
keys, but no tests.

The attached patch contains the following improvements:

1) Two bugs in processing a Username Token in UsernameToken.java with a derived 
key are fixed + some cleanup to the code.

2) WSSecUsernameToken.java is extended to wrap the key derivation functionality 
of UsernameToken.java.

3) A unit test is added for UsernameToken.java, as well as two tests which use 
a derived key from a username token for encryption and signing purposes.

The processing of a UsernameToken with derived keys is left for a future 
release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to