[
http://jira.jboss.com/jira/browse/JBWS-2189?page=all ]
Alessio Soldano updated JBWS-2189:
----------------------------------
Fix Version/s: jbossws-native-3.0.3
Assignee: Alessio Soldano
Attribute EncodingType is required for Nonce element.
-----------------------------------------------------
Key: JBWS-2189
URL:
http://jira.jboss.com/jira/browse/JBWS-2189
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ws-security
Affects Versions: jbossws-native-3.0.1
Reporter: Slawomir Wojtasiak
Assigned To: Alessio Soldano
Fix For: jbossws-native-3.0.3
Attachments: patch_usernametoken.txt
If element Nonce of UsernameToken has no "EncodingType" attribute set then
following exception is thrown:
Unsupported nonce encoding type:
Problem is localized here:
String encodingType = elem.getAttribute("EncodingType");
if (encodingType != null &&
!Constants.BASE64_ENCODING_TYPE.equalsIgnoreCase(encodingType))
throw new WSSecurityException("Unsupported nonce encoding type: " +
encodingType);
getAttribute method always returns empty string if attribute doesn't have specified
value.
--
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