]
Darran Lofthouse updated ELY-1239:
----------------------------------
Fix Version/s: 1.3.1.Final
(was: 1.3.0.Final)
Elytron client, elytron-1_0.xsd, protection-parameter-credentials is
incorrectly defined as client-credentials-type.
--------------------------------------------------------------------------------------------------------------------
Key: ELY-1239
URL:
https://issues.jboss.org/browse/ELY-1239
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Client, Credential Store
Reporter: Hynek Švábek
Assignee: Peter Skopek
Priority: Blocker
Fix For: 1.3.1.Final
Elytron client, elytron-1_0.xsd, *protection-parameter-credentials* is incorrectly
defined as client-credentials-type [1].
For *protection-parameter-credentials* is valid only credential-store-reference
element:
{code}
<xsd:element name="credential-store-reference"
type="credential-store-reference-type"/>
{code}
But now is *protection-parameter-credentials* defined as type *client-credentials-type*
[1] which can have these values:
{code}
<xsd:complexType name="client-credentials-type">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="key-store-reference"
type="key-store-ref-type"/>
<xsd:element name="credential-store-reference"
type="credential-store-reference-type"/>
<xsd:element name="clear-password"
type="clear-password-type"/>
<xsd:element name="hashed-password"
type="hashed-password-type"/>
<xsd:element name="crypt-password"
type="crypt-password-type"/>
<xsd:element name="key-pair"
type="key-pair-type"/>
<xsd:element name="certificate"
type="certificate-type"/>
<xsd:element name="public-key-pem"
type="xsd:string"/>
<xsd:element name="bearer-token"
type="bearer-token-type"/>
<xsd:element name="oauth2-bearer-token"
type="oauth2-bearer-token-type"/>
</xsd:choice>
</xsd:complexType>
{code}
Please keep on mind that changes must be done accordingly in ElytronXMLParser too.
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/1.1.0.Beta47/src...