return the current roles bound to the current thread by spring security . concode_field_sep String ANONYMOUS_USER concode_field_sep UserDetails getUserDetails concode_elem_sep boolean hasRole concode_elem_sep List<String> toStringList concode_elem_sep String getId concode_elem_sep Locale getLocale concode_elem_sep String getUsername
List < String > function ( ) { Authentication loc0 = SecurityContextHolder . getContext ( ) . getAuthentication ( ) ; if ( loc0 != null ) { return toStringList ( loc0 . getAuthorities ( ) ) ; } return emptyList ( ) ; }