Ifjjv ym spring security

securityContext.getPrincipal.getRoles() that mathods doesnt exist