[jboss-jira] [JBoss JIRA] (WFLY-7578) Inconsistencies in using fileType/path+relative-to in Elytron XSD/DMR

Ondrej Kotek (JIRA) issues at jboss.org
Wed Nov 16 04:38:00 EST 2016


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

Ondrej Kotek commented on WFLY-7578:
------------------------------------

There are two inconsistencies. One in the XSD, and the second one in management model:
* To support comprehensibility of XSD, {{basicFileType}} and {{fileType}} complex types should be used, (x)or {{path}} and {{relative-to}} attributes should be used, but not both.
* To support comprehensibility of DMR,  files should be represented as objects, (x)or files should be represented as attributes, but not both.

Should I create separate JIRA issues?

> Inconsistencies in using fileType/path+relative-to in Elytron XSD/DMR
> ---------------------------------------------------------------------
>
>                 Key: WFLY-7578
>                 URL: https://issues.jboss.org/browse/WFLY-7578
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Ondrej Kotek
>            Assignee: Darran Lofthouse
>              Labels: user_experience
>
> *Issue description:*
> In _wildfly-elytron_1_0.xsd_, a file type is represented inconsistently. There are {{basicFileType}} and {{fileType}} complex types used, but there are also {{path}} and {{relative-to}} attributes used ({{providerLoadersType}}, {{kerberosSecurityFactory}}).
> In DMR, file is represented as object (e.g. {{properties-realm}}) or as attributes (e.g. {{filesystem-realm}}, {{key-store}}).
> *Suggestions for improvement:*
> The file representation should be consistent in XSD/DMR.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list