[jboss-jira] [JBoss JIRA] (SECURITY-590) RequestAttributeFactory.createTimeAttributeType(attName, issuer) API call causes a parsing exception

Dan Gradl (Updated) (JIRA) jira-events at lists.jboss.org
Wed Nov 16 08:05:43 EST 2011


     [ https://issues.jboss.org/browse/SECURITY-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Gradl updated SECURITY-590:
-------------------------------

    Attachment: SECURITY-590.patch


Fixed the creation of default date and time attribute values.
                
> RequestAttributeFactory.createTimeAttributeType(attName, issuer) API call causes a parsing exception
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SECURITY-590
>                 URL: https://issues.jboss.org/browse/SECURITY-590
>             Project: PicketBox (JBoss Security and Identity Management)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JBossXACML
>         Environment: Version was 2.0.6.Final
>            Reporter: Asankha Perera
>            Assignee: Anil Saldhana
>            Priority: Minor
>         Attachments: SECURITY-590.patch
>
>
> Using the API call RequestAttributeFactory.createTimeAttributeType(attName, issuer) causes a "ParsingException: couldn't create http://www.w3.org/2001/XMLSchema#time attribute based on DOM node"
> Note that with the above API call, we do not supply any time string, but assume that the current time is used. As a comparison the similar API call RequestAttributeFactory.createDateTimeAttributeType(attName, issuer) works without any issues - hence it seems logical that the createTimeAttributeType() contains a possible bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list