This is a complete SECURED Java Rest Example using Jersey in a simple application