I'm trying to check the roles for the current user in a controller method, and using the traditional springSecurityService.principal as well as springSecurityService.currentUser both yield null, springSecurityService is not null.
I've verified that the users have logged in, one thing might be that this call is made by the DataTables library in an Ajax call.