What version of spring security works with java 1.4? - java

I have a project that uses java 1.4, Struts 1, running on WAS 6 and I need to implements Spring Security, for show some components by a ROLE_ADMIN and ROLE_USER, what version of spring security it´s compatible with my project and i neeed to know if the configuration is like the tutorials for spring security 3.0.x that uses the web.xml.

From the FAQ:
Spring Security 2.0.x requires a minimum JDK version of 1.4 and is
built against Spring 2.0.x. It should also be compatible with
applications using Spring 2.5.x.
But when it comes to security, I would not use end-of-life products.

Related

Spring Boot 2 JasperReportsMultiFormatView

I migrated from spring boot 1.5 to 2.0 and used jasper report. Migration has a problem is The import org.springframework.web.servlet.view.jasperreports cannot be resolved. my code is
import org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView;
Can I see how the java package was changed? To be resolve.
Spring Boot 2.0 uses Spring Framework 5.0 where the support for JasperReports was removed. The package org.springframework.web.servlet.view.jasperreports is no longer available.
As per Upgrading to Spring Framework 5.x:
The Spring Framework no longer supports: Portlet, Velocity, JasperReports, XMLBeans, JDO, Guava (replaced by the Caffeine support). If those are critical to your project, you should stay on Spring Framework 4.3.x (supported until 2020). Alternatively, you may create custom adapter classes in your own project (possibly derived from Spring Framework 4.x).

Is Spring Framework 4.2.5 compatible with Oracle WebLogic 12.1.3?

I know that Oracle WebLogic 12.1.3 officially supports verion of Spring Framework 4.0.x .
But, It seems that 4.0.x stream of Spring
Framework will not be maintained in the future.
Then, I'm considering to work with 4.2.x of Spring.
Is there someone working on the same situation?
Spring Framework 4.2.x on Oracle WebLogic 12.1.3.
I'm wondering it works or not.
Please let me know your situation.
Thanks!
We use Spring 4.2.0 on WebLogic 12.1.3 running on Linux. I had not seen any issues. However, I also do not know of any official support statement for this situation.
From Official documentation is only supported:
The WebLogic Server/Spring integration features in WebLogic Server 12.1.3 support Spring Framework versions 3.0.x, 3.1.x, and 4.0.x. (Note that Spring Framework version 3.2.x is not supported.)
This doesn't mean that won't work 4.2.5

spring framework jdk compatibility

We are planning to develop Spring Application. In our servers JDK version is 1.5(it cannot be changes as there are so many other applications running on the same server). I am planning to use Spring core , MVC modules.SO can any one suggest which version of spring is suitable for JDK 1.5.And also suggest which version of Hibernate is suitable for the selected spring version.
Thanks in Advance,
Rajesh
Both Spring 4 and Hibernate 4 require Java 1.6 so for Java 1.5 you should use:
Spring 3.2.12.
Hibernate 3.6.10

Spring 4 mvc + security for servlet 2.5 in JBoss5.1.0.GA

I want to use spring 4 with minimal xml configuration for the now new project I am about to develop. I will be using Spring in this project for dependency-injection, mvc, security and jdbc. I will use JOOQ for query generation. (Yes, I need to project to support Postgresql and oracle) (maybe, in future, this app will extended support for REST too). The problem I face now is my production application server is JBoss5.1.0.GA, which obviously does not support servlet 3.0. Now I have a working spring 4 mvc code base with servlet 2.5, but I could not figure out how to configure the security with java config. Because I see most of the examples on spring 4 on servlet 3.0+ versions, and very less not good examples on 2.5. Though I read the spring security from the spring website, it made little difference on implementing it. Have anyone implemented security (db/ldap) on servlet 2.5? Share with me your wisdom and experiences.
Spring security (I suppose version 3.2 as you speak of spring 4) works well on servlet 2.5, at least with xml config. I am not sure that you can use full java config for security, but I am sure annotations can be used for method security.

Jersey with Java 5

What is the latest version of Jersey that will run with Java 5? I found the Jersey 1.3 documentation saying that Java 6 is required but I'm having troubles finding previous versions of the docs.
If you are stuck with Java 5, your need to use Jersey 1.2.
If the version is not mature enough for you, try Spring 3 MVC for building REST webservices, works with Java 5:
Spring Documentation
Spring blog article
Build RESTful web services using Spring 3 (ibm)
You sure? Jersey 1.7 guide claims 1.5 works, with some additional jars.

Categories