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.
Found on the web. You can adapt the url with one grabbed from Oracle JDK download page. What I love here is the fact is send Oracle licence ...
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...