@ Override protected List getUserRoles ( final DirContext dirContext , final String username ) throws LoginException , NamingException { if ( _ignoreRoles ) { ArrayList < String > strings = new ArrayList <> ( ) ; addSupplementalRoles ( strings ) ; return strings ; } else { return super . getUserRoles ( dirContext , username ) ; } }
Override to perform behavior of ignoreRoles option