[JBoss JIRA] (WFLY-8364) mod_cluster model allows both simple- and dynamic-load-providers to be defined in the model simultaneously
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-8364?page=com.atlassian.jira.plugin.... ]
James Perkins updated WFLY-8364:
--------------------------------
Fix Version/s: 14.0.0.CR1
(was: 14.0.0.Beta2)
> mod_cluster model allows both simple- and dynamic-load-providers to be defined in the model simultaneously
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-8364
> URL: https://issues.jboss.org/browse/WFLY-8364
> Project: WildFly
> Issue Type: Bug
> Components: mod_cluster
> Affects Versions: 10.1.0.Final, 13.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 14.0.0.CR1
>
>
> {code}
> <subsystem xmlns="urn:jboss:domain:modcluster:3.0">
> <mod-cluster-config advertise-socket="modcluster" connector="ajp">
> <simple-load-provider factor="5"/>
> <dynamic-load-provider>
> <load-metric type="cpu"/>
> </dynamic-load-provider>
> </mod-cluster-config>
> </subsystem>
> {code}
> However, it would be ideal if this was reworked into correct resources, like the following:
> {{/subsystem=modcluster/proxy=default/load-provider=dynamic}}
> {{/subsystem=modcluster/proxy=default/load-provider=simple}}
> Jira for that is WFLY-10471.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-10616) ContextResolver doesn't work
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-10616?page=com.atlassian.jira.plugin... ]
James Perkins updated WFLY-10616:
---------------------------------
Fix Version/s: 14.0.0.CR1
(was: 14.0.0.Beta2)
> ContextResolver doesn't work
> ----------------------------
>
> Key: WFLY-10616
> URL: https://issues.jboss.org/browse/WFLY-10616
> Project: WildFly
> Issue Type: Bug
> Components: REST
> Affects Versions: 13.0.0.Final
> Reporter: George Trudeau
> Assignee: R Searls
> Fix For: 14.0.0.CR1
>
> Attachments: test.war
>
>
> I have a simple ContextResolver to set Date serialization format for my JAX-RS service, it works on 12.0.0.Final but it doesn't anymore on 13.0.0.Final :
> {code:java}
> @Provider
> public class DateResolver implements ContextResolver<ObjectMapper>
> {
> private final ObjectMapper mapper;
> public DateResolver()
> {
> mapper = new ObjectMapper();
> mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd"));
> mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
> }
> @Override
> public ObjectMapper getContext(Class<?> type) { return mapper; }
> }
> {code}
> The {{getContext}} method isn't called on 13.0.0.Final.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-10777) Add WildFly Elytron / JASPI Integration Tests
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-10777?page=com.atlassian.jira.plugin... ]
James Perkins updated WFLY-10777:
---------------------------------
Fix Version/s: 14.0.0.CR1
(was: 14.0.0.Beta2)
> Add WildFly Elytron / JASPI Integration Tests
> ---------------------------------------------
>
> Key: WFLY-10777
> URL: https://issues.jboss.org/browse/WFLY-10777
> Project: WildFly
> Issue Type: Task
> Components: Security, Test Suite
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 14.0.0.CR1
>
>
> The following key scenarios should be covered within the Elytron testsuite module: -
> * Pre-configured JASPIC
> In this case the SAMs are configured within the Elytron subsystem and applied at runtime to the web application.
> Two predominant modes to consider: -
> # Fully integrated, i.e. the Callbacks make use of the SecurityDomain for authentication.
> # Ad-Hoc Identity i.e. We still have a security domain but trust the SAM to establish an ad-hoc identity.
> * Programatically configured JASPIC
> During servlet initilisation the new JaspicConfigurationBuilder API can be used to dynamically register a configuration.
> Likely to need the same two modes.
> * Retrospective JASPIC
> In both the above cases the deployment can be deployed and either use Elytron HTTP authentication mechanisms or be unsecured, JASPIC for the deployment can be activated either via configuration or programatically and should take precedence over the existing authentication.
> * Programatic Authentication
> A servlet can use the authentication API on the HttpServletRequest and trigger authentication.
> * No SecurityDomain
> This one may not be as applicable at this stage but we should at some point support JASPIC being applied to a deployment not associated with any security domain, i.e. a new deployment on a clean install could programatically register a JASPIC configuration.
> Without any security domain the identity would only have relevance within the servlet container so establishing an ad-hoc identity is actually a better approach. Additionally this relies on no default being present in the default config.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months