[jbossws-issues] [JBoss JIRA] Created: (JBWS-2189) Attribute EncodingType is required for Nonce element.
Sławomir Wojtasiak (JIRA)
jira-events at lists.jboss.org
Wed May 21 07:17:00 EDT 2008
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: Sławomir Wojtasiak
If element Nonce of UsernameToken have 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
More information about the jbossws-issues
mailing list