JavaEE 6 Security Sample