Adds EhCache in security realm