Today, I imported some properties in my Spring config file. I wrote something like this :
<!-- define properties from a file -->
<util:properties id="securityProperties" location="classpath:/securityProperties.properties" />
I could also wrote :
<!-- look for properties from a JNDI context -->
<jee:jndi-lookup id="securityProperties" jndi-name="props/security" />
... or even more simpler :
<!-- simply declare properties directly -->
So, I needed to retrieve my cas.base.url. In my bean, I just had to do :
private String SSO_CAS_BASE_URL;
That's why I like Spring.
Here is the best article I read on how to secure REST API and even make a full stateless architecture by using JWT token to store all user d...
I've just received my first arduino platform. It's a DCcduino board (a clone of Arduino Uno). As I had some difficulties to hav...
I'm an old user and addict of JRebel. I started to use it on open source projects and in professional contexts. From the beginning, I...
This is the challenge I had to perform. I have to open services to business partners and I want to secure them. I use a Java based applicati...