[jboss-jira] [JBoss JIRA] (AS7-2815) Model values returned from the server should conform to the 'allowed' attribute.

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 31 23:09:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663226#comment-12663226 ] 

Brian Stansberry commented on AS7-2815:
---------------------------------------

David, would fixing the "allowed" list to use the lowercase values break you?

The xsd uses lowercase (as has picketbox for years), so that seems the better choice.
                
> Model values returned from the server should conform to the 'allowed' attribute.
> --------------------------------------------------------------------------------
>
>                 Key: AS7-2815
>                 URL: https://issues.jboss.org/browse/AS7-2815
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.0.Beta1
>            Reporter: David Bosschaert
>            Assignee: Jason Greene
>             Fix For: 7.1.0.Final
>
>
> Looking at the security domain subsystem I see that that the
> authorization flag field has an allowed list of:
> "allowed" =>  [
>    "REQUIRED",
>    "REQUISITE",
>    "SUFFICIENT",
>    "OPTIONAL"]
> However, the default model (what you get with a fresh new AS7 install)
> has the flag value in lowercase:
>    "flag" =>  "required",
> Suggestion from Brian: allow the input to be lenient, but require that the output of the model information always matches the 'allowed' range.
> See: http://lists.jboss.org/pipermail/jboss-as7-dev/2011-November/004733.html

--
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