void function ( List < String > arg0 ) { setAuthorities ( new ArrayList < GrantedAuthority > ( arg0 . size ( ) ) ) ; for ( String loc0 : arg0 ) { addAuthority ( new SimpleGrantedAuthority ( loc0 ) ) ; } }
set all authorities for this user from string values . it will create the necessary grantedauthority objects . concode_field_sep String password concode_elem_sep boolean enabled concode_elem_sep List<GrantedAuthority> authorities concode_field_sep void setEnabled concode_elem_sep void setPassword concode_elem_sep String getPassword concode_elem_sep void setAuthorities concode_elem_sep boolean isEnabled concode_elem_sep boolean isValid concode_elem_sep void addAuthority concode_elem_sep List<GrantedAuthority> getAuthorities