[jboss-jira] [JBoss JIRA] (WFLY-5159) Enum values of iorTransportConfigType are not enumerations in XSD of iiop subsystem

Ondřej Chaloupka (JIRA) issues at jboss.org
Fri Aug 21 06:53:27 EDT 2015


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

Ondřej Chaloupka updated WFLY-5159:
-----------------------------------
    Description: 
Attributes of complex type {{iorTransportConfigType}} are only defined as string in XSD but they should be probably enumerations.

{code}
    <xs:complexType name="iorTransportConfigType">
        <xs:annotation>
            <xs:documentation>
                <![CDATA[
                The iorTransportconfigType specifies the attributes used to setup the IOR transport settings.

                * integrity: indicates whether the transport must require integrity protection or not. Valid values are
                             "none", "supported" and "required".
                * confidentiality: indicates whether the transport must require confidentiality protection or not. Valid
                             values are "none", "supported" and "required".
                * trust-in-target: indicates if the transport must require trust in target to be established. Valid values
                             are "none" and "supported".
                * trust-in-client: indicates if the transport must require trust in client to be established. Valid values
                             are "none", "supported" and "required".
                * detect-replay: indicates whether the transport must require replay detection or not. Valid values are
                             "none", "supported" and "required".
                * detect-misordering: indicates whether the transport must require misordering detection or not. Valid
                             values are "none", "supported" and "required".
             ]]>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="integrity" type="xs:string" use="optional"/>
        <xs:attribute name="confidentiality" type="xs:string" use="optional"/>
        <xs:attribute name="trust-in-target" type="xs:string" use="optional"/>
        <xs:attribute name="trust-in-client" type="xs:string" use="optional"/>
        <xs:attribute name="detect-replay" type="xs:string" use="optional"/>
        <xs:attribute name="detect-misordering" type="xs:string" use="optional"/>
    </xs:complexType>
{code}

The same trouble is for complex type {{iorASContextType}} and its attribute {{auth-method}}
{code}
    <xs:complexType name="iorASContextType">
        <xs:annotation>
            <xs:documentation>
                <![CDATA[
                The iorASContextType specifies the attributes used to setup the IOR Authentication Service settings.

                * auth-method: the authentication method. Valid values are "none" and "username_password".
                * realm: the Authentication Service realm name. If not provided it will be set to "Default".
                * requires: indicates if authentication is required (true) or not (false).
             ]]>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="auth-method" type="xs:string" use="optional"/>
        <xs:attribute name="realm" type="xs:string" use="optional"/>
        <xs:attribute name="required" type="xs:boolean" use="optional"/>
    </xs:complexType>
{code}

and {{iorSASContextType}} of attribute {{caller-propagation}}
{code}
    <xs:complexType name="iorSASContextType">
        <xs:annotation>
            <xs:documentation>
                <![CDATA[
                The iorSASContextType specifies the attributes used to setup the IOR Secure Attribute Service settings.

                * caller-propagation: indicates whether the caller should be propagated in the SAS context or not. Valid
                                      values are "none" and "supported".
             ]]>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="caller-propagation" type="xs:string" use="optional"/>
    </xs:complexType>
{code}

  was:
Attributes of complex type {{iorTransportConfigType}} are only defined as string in XSD but they should be probably enumerations.

{code}
    <xs:complexType name="iorTransportConfigType">
        <xs:annotation>
            <xs:documentation>
                <![CDATA[
                The iorTransportconfigType specifies the attributes used to setup the IOR transport settings.

                * integrity: indicates whether the transport must require integrity protection or not. Valid values are
                             "none", "supported" and "required".
                * confidentiality: indicates whether the transport must require confidentiality protection or not. Valid
                             values are "none", "supported" and "required".
                * trust-in-target: indicates if the transport must require trust in target to be established. Valid values
                             are "none" and "supported".
                * trust-in-client: indicates if the transport must require trust in client to be established. Valid values
                             are "none", "supported" and "required".
                * detect-replay: indicates whether the transport must require replay detection or not. Valid values are
                             "none", "supported" and "required".
                * detect-misordering: indicates whether the transport must require misordering detection or not. Valid
                             values are "none", "supported" and "required".
             ]]>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="integrity" type="xs:string" use="optional"/>
        <xs:attribute name="confidentiality" type="xs:string" use="optional"/>
        <xs:attribute name="trust-in-target" type="xs:string" use="optional"/>
        <xs:attribute name="trust-in-client" type="xs:string" use="optional"/>
        <xs:attribute name="detect-replay" type="xs:string" use="optional"/>
        <xs:attribute name="detect-misordering" type="xs:string" use="optional"/>
    </xs:complexType>
{code}

The same trouble is for complex type {{iorASContextType}} and its attribute {{auth-method}}
{code}
    <xs:complexType name="iorASContextType">
        <xs:annotation>
            <xs:documentation>
                <![CDATA[
                The iorASContextType specifies the attributes used to setup the IOR Authentication Service settings.

                * auth-method: the authentication method. Valid values are "none" and "username_password".
                * realm: the Authentication Service realm name. If not provided it will be set to "Default".
                * requires: indicates if authentication is required (true) or not (false).
             ]]>
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="auth-method" type="xs:string" use="optional"/>
        <xs:attribute name="realm" type="xs:string" use="optional"/>
        <xs:attribute name="required" type="xs:boolean" use="optional"/>
    </xs:complexType>
{code}



> Enum values of iorTransportConfigType are not enumerations in XSD of iiop subsystem
> -----------------------------------------------------------------------------------
>
>                 Key: WFLY-5159
>                 URL: https://issues.jboss.org/browse/WFLY-5159
>             Project: WildFly
>          Issue Type: Bug
>          Components: IIOP
>            Reporter: Ondřej Chaloupka
>            Assignee: Tomasz Adamski
>            Priority: Minor
>
> Attributes of complex type {{iorTransportConfigType}} are only defined as string in XSD but they should be probably enumerations.
> {code}
>     <xs:complexType name="iorTransportConfigType">
>         <xs:annotation>
>             <xs:documentation>
>                 <![CDATA[
>                 The iorTransportconfigType specifies the attributes used to setup the IOR transport settings.
>                 * integrity: indicates whether the transport must require integrity protection or not. Valid values are
>                              "none", "supported" and "required".
>                 * confidentiality: indicates whether the transport must require confidentiality protection or not. Valid
>                              values are "none", "supported" and "required".
>                 * trust-in-target: indicates if the transport must require trust in target to be established. Valid values
>                              are "none" and "supported".
>                 * trust-in-client: indicates if the transport must require trust in client to be established. Valid values
>                              are "none", "supported" and "required".
>                 * detect-replay: indicates whether the transport must require replay detection or not. Valid values are
>                              "none", "supported" and "required".
>                 * detect-misordering: indicates whether the transport must require misordering detection or not. Valid
>                              values are "none", "supported" and "required".
>              ]]>
>             </xs:documentation>
>         </xs:annotation>
>         <xs:attribute name="integrity" type="xs:string" use="optional"/>
>         <xs:attribute name="confidentiality" type="xs:string" use="optional"/>
>         <xs:attribute name="trust-in-target" type="xs:string" use="optional"/>
>         <xs:attribute name="trust-in-client" type="xs:string" use="optional"/>
>         <xs:attribute name="detect-replay" type="xs:string" use="optional"/>
>         <xs:attribute name="detect-misordering" type="xs:string" use="optional"/>
>     </xs:complexType>
> {code}
> The same trouble is for complex type {{iorASContextType}} and its attribute {{auth-method}}
> {code}
>     <xs:complexType name="iorASContextType">
>         <xs:annotation>
>             <xs:documentation>
>                 <![CDATA[
>                 The iorASContextType specifies the attributes used to setup the IOR Authentication Service settings.
>                 * auth-method: the authentication method. Valid values are "none" and "username_password".
>                 * realm: the Authentication Service realm name. If not provided it will be set to "Default".
>                 * requires: indicates if authentication is required (true) or not (false).
>              ]]>
>             </xs:documentation>
>         </xs:annotation>
>         <xs:attribute name="auth-method" type="xs:string" use="optional"/>
>         <xs:attribute name="realm" type="xs:string" use="optional"/>
>         <xs:attribute name="required" type="xs:boolean" use="optional"/>
>     </xs:complexType>
> {code}
> and {{iorSASContextType}} of attribute {{caller-propagation}}
> {code}
>     <xs:complexType name="iorSASContextType">
>         <xs:annotation>
>             <xs:documentation>
>                 <![CDATA[
>                 The iorSASContextType specifies the attributes used to setup the IOR Secure Attribute Service settings.
>                 * caller-propagation: indicates whether the caller should be propagated in the SAS context or not. Valid
>                                       values are "none" and "supported".
>              ]]>
>             </xs:documentation>
>         </xs:annotation>
>         <xs:attribute name="caller-propagation" type="xs:string" use="optional"/>
>     </xs:complexType>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list