Java project with spring security and jersey