[JBoss JIRA] (WFCORE-1644) PersistenceResourceXmlDescription marshals attributes in the reverse order they are added
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1644?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-1644:
-------------------------------------
Description:
This in marshalAttributes results in iterating over a reversed list:
{code}
//we sort attributes to make sure that attributes that marshall to elements are last
for (AttributeDefinition ad : attributes.stream().sorted((o1, o2) -> o1.getParser().isParseAsElement() ? 1 : -1).collect(Collectors.toList())) {
{code}
The sorter returning -1 for all non-element attributes has that effect.
was:
This in marshalAttributes results in iterating over a reversed list:
{code}
//we sort attributes to make sure that attributes that marshall to elements are last
for (AttributeDefinition ad : attributes.stream().sorted((o1, o2) -> o1.getParser().isParseAsElement() ? 1 : -1).collect(Collectors.toList())) {
{code}
The sorter returning -1 for all non-element attributes has that effect.
> PersistenceResourceXmlDescription marshals attributes in the reverse order they are added
> -----------------------------------------------------------------------------------------
>
> Key: WFCORE-1644
> URL: https://issues.jboss.org/browse/WFCORE-1644
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.2.0.CR5, 3.0.0.Alpha3
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 2.2.0.CR6, 3.0.0.Alpha4
>
>
> This in marshalAttributes results in iterating over a reversed list:
> {code}
> //we sort attributes to make sure that attributes that marshall to elements are last
> for (AttributeDefinition ad : attributes.stream().sorted((o1, o2) -> o1.getParser().isParseAsElement() ? 1 : -1).collect(Collectors.toList())) {
> {code}
> The sorter returning -1 for all non-element attributes has that effect.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-586) Evidence check to TokenSecurityRealm
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-586?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor updated ELY-586:
---------------------------
Description: We must check the presence of an evidence prior to obtaining it from the {{IdentityLocator}}. Failing to do so, an exception is during authorization. (was: We must check the presence of an evidence prior to obtaining it from the {{IdentityLocator}}.)
> Evidence check to TokenSecurityRealm
> ------------------------------------
>
> Key: ELY-586
> URL: https://issues.jboss.org/browse/ELY-586
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Realms
> Affects Versions: 1.0.2.Final
> Reporter: Pedro Igor
> Assignee: Pedro Igor
>
> We must check the presence of an evidence prior to obtaining it from the {{IdentityLocator}}. Failing to do so, an exception is during authorization.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-586) Evidence check to TokenSecurityRealm
by Pedro Igor (JIRA)
Pedro Igor created ELY-586:
------------------------------
Summary: Evidence check to TokenSecurityRealm
Key: ELY-586
URL: https://issues.jboss.org/browse/ELY-586
Project: WildFly Elytron
Issue Type: Enhancement
Components: Realms
Affects Versions: 1.0.2.Final
Reporter: Pedro Igor
Assignee: Pedro Igor
We must check the presence of an evidence prior to obtaining it from the {{IdentityLocator}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-585) Allow null authenticationID during authorization
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-585?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor updated ELY-585:
---------------------------
Description: We must be able to support a null authenticationID when using an {{AuthorizeCallback}}. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization. (was: We must be support a null authenticationID when using an {{AuthorizeCallback}}. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization. )
> Allow null authenticationID during authorization
> ------------------------------------------------
>
> Key: ELY-585
> URL: https://issues.jboss.org/browse/ELY-585
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Callbacks
> Affects Versions: 1.0.2.Final
> Reporter: Pedro Igor
> Assignee: Pedro Igor
>
> We must be able to support a null authenticationID when using an {{AuthorizeCallback}}. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-585) Allow null authenticationID during authorization
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-585?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor updated ELY-585:
---------------------------
Description: We must be able to support a null authenticationID when using an {{AuthorizeCallback}} to perform authorization. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization. (was: We must be able to support a null authenticationID when using an {{AuthorizeCallback}}. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization. )
> Allow null authenticationID during authorization
> ------------------------------------------------
>
> Key: ELY-585
> URL: https://issues.jboss.org/browse/ELY-585
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Callbacks
> Affects Versions: 1.0.2.Final
> Reporter: Pedro Igor
> Assignee: Pedro Igor
>
> We must be able to support a null authenticationID when using an {{AuthorizeCallback}} to perform authorization. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-585) Allow null authenticationID during authorization
by Pedro Igor (JIRA)
[ https://issues.jboss.org/browse/ELY-585?page=com.atlassian.jira.plugin.sy... ]
Pedro Igor updated ELY-585:
---------------------------
Description: We must be able to support a null authenticationID when using an {{AuthorizeCallback}} to perform authorization. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform the authorization. (was: We must be able to support a null authenticationID when using an {{AuthorizeCallback}} to perform authorization. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization. )
> Allow null authenticationID during authorization
> ------------------------------------------------
>
> Key: ELY-585
> URL: https://issues.jboss.org/browse/ELY-585
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Callbacks
> Affects Versions: 1.0.2.Final
> Reporter: Pedro Igor
> Assignee: Pedro Igor
>
> We must be able to support a null authenticationID when using an {{AuthorizeCallback}} to perform authorization. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform the authorization.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ELY-585) Allow null authenticationID during authorization
by Pedro Igor (JIRA)
Pedro Igor created ELY-585:
------------------------------
Summary: Allow null authenticationID during authorization
Key: ELY-585
URL: https://issues.jboss.org/browse/ELY-585
Project: WildFly Elytron
Issue Type: Enhancement
Components: Callbacks
Affects Versions: 1.0.2.Final
Reporter: Pedro Igor
Assignee: Pedro Igor
We must be support a null authenticationID when using an {{AuthorizeCallback}}. In this case, if an authenticated principal was previously established as a result of a successful authentication or evidence verification, we just use it to perform authorization.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (WFCORE-1643) Fix domain mode for configuration changes
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-1643:
----------------------------------------
Summary: Fix domain mode for configuration changes
Key: WFCORE-1643
URL: https://issues.jboss.org/browse/WFCORE-1643
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha3
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
The configuration changes feature is broken in domain mode: the propagation to managed servers / slaves HC doesn't work properly. Once set it will fail on restarting the DC. So we need a clean refactoring of the feature to have a usable domain mode.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months