Skip to main content

Posts

Showing posts from May, 2010

GWT and Spring Security

Update! - Based on the post below, and my other post regarding Spring Security and OpenID, I have added Open-ID support to the sample application below. For those interested, here's the write-up of changes. I've spent quite some time digging into ways of integrating GWT and Spring Security. It all started by reading the following post in the GWT Forum - Best practices/ideas for GWT with Spring Security (or equivalent) , and then checking out this blog - GWT and Spring Security . To make matters worse, I started reading Security for GWT Applications and specifically about the "Cross-Site Request Forging"-attacks. Now, what could I do about it? Well, starting by setting up my own project (Maven-based) with all updated dependencies (GWT 2.0.3 etc) and started reading the Spring Security Reference Documentation (puh!). Instead of See Wah Cheng's approach of implementing a custom authentication service, I decided to rely on standard namespace configuration...

Spring's mailSender with Google App Engine

Ever wanted to use Spring's mailSender in a GAE hosted application? This is how it's done! <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <!-- Specific Google protocol used with Google App Engine --> <property name="protocol" value="gm" /> </bean>

Introducing Technowobble!

Technowobble is my place to post interesting stuff related to technology in general. Right now I'm spending time looking into Spring integration with Google Web Toolkit (GWT) in combination with Google App Engine (GAE) and fibbling with my brand new Mac Mini - which is hooked up to my Samsung flatscreen and only accessed through my Iphone (no keyboard, no mouse!). Another thing catching my tech-attention right now is Spring Roo - I wonder what will be? Happy reading!