Java

The java language is one of the most developed and widely used (J2SE, JEE, J2ME). This section is about coding safely with Java and using Java to implement security features.

The last articles

Modify any Java class field using reflection.
Published on 13 January 2011
by Emeric Nasi

License : Copyright Emeric Nasi, some rights reserved

This work is licensed under a Creative Commons Attribution 4.0 International License.

I. Reflection and Java security

For most Java developers, Java security comes from the use of keywords such as "private, protected, or final". (...)

Enable securitymanager for Spring and Hibernate
Published on 8 January 2011
by Emeric Nasi

License : Copyright Emeric Nasi, some rights reserved

This work is licensed under a Creative Commons Attribution 4.0 International License.

I. Tomcat security manager.

The basis of Java security is to enable the security manager.

The security manager allows you to associate a given (...)

Implement hash service using JCE
Published on 10 November 2010
by Emeric Nasi

License : Copyright Emeric Nasi, some rights reserved

This work is licensed under a Creative Commons Attribution 4.0 International License.

In this article I will present how-to simply use hash methods in your Java projects. I will also follow the Java coding security recommendation (...)