[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jakarta.ee-community] @DataSourceDefinition
|
If I recall correctly, the only reason JAX-RS needed to introduce security features is that there was no Java EE Security API at the time. I think this can be deprecated now and Java EE Security added as an optional/soft dependency.
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message --------
From: arjan tijms <arjan.tijms@xxxxxxxxx>
Date: 6/22/18 1:17 AM (GMT-05:00)
To: Jakarta EE community discussions <jakarta.ee-community@xxxxxxxxxxx>
Subject: Re: [jakarta.ee-community] @DataSourceDefinition
You could ask yourself; does Spring MVC has its own security methods, or is it dependent on Spring Security? And in
ASP.NET MVC, does that have its own security methods, or does it depend on the facilities from .NET?
Or look at it from another point of view.
Does JAX-RS needs its own persistence, or does it depend on JPA and JDBC for that?
If it doesn't have its own persistence, and its okay to depend on something else for that, why isn't it okay to depend on something else for security?
Yet another point if view: should JSF introduce its very own security system? If not, why is this not okay for JSF to do, but is it okay for JAX-RS?
We should be careful by making the specs to dependent on each other.
My current client just uses JAX-RS in an OSGI environment. I don't think they like the fact that they have to add some additional specs/implementions to the mix.
More precisely the whole javax.ws.rs.core.SecurityContext; is redundant in JAX-RS now, and should either at least extend the one from ES or be replaced by it whichever is technically more feasible.
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakarta.ee-community
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakarta.ee-community