File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
core/src/main/java/org/springframework/security/provisioning Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ protected List<UserDetails> loadUsersByUsername(String username) {
181181		return  getJdbcTemplate ().query (getUsersByUsernameQuery (), this ::mapToUser , username );
182182	}
183183
184- 	private  UserDetails  mapToUser (ResultSet  rs , int  rowNum ) throws  SQLException  {
184+ 	protected  UserDetails  mapToUser (ResultSet  rs , int  rowNum ) throws  SQLException  {
185185		String  userName  = rs .getString (1 );
186186		String  password  = rs .getString (2 );
187187		boolean  enabled  = rs .getBoolean (3 );
@@ -390,7 +390,7 @@ public List<GrantedAuthority> findGroupAuthorities(String groupName) {
390390				this ::mapToGrantedAuthority );
391391	}
392392
393- 	private  GrantedAuthority  mapToGrantedAuthority (ResultSet  rs , int  rowNum ) throws  SQLException  {
393+ 	protected  GrantedAuthority  mapToGrantedAuthority (ResultSet  rs , int  rowNum ) throws  SQLException  {
394394		String  roleName  = getRolePrefix () + rs .getString (3 );
395395		return  new  SimpleGrantedAuthority (roleName );
396396	}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments