mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 17:38:32 +08:00
Update AuthenticationProviderFactory.java
This commit is contained in:
parent
e24b598257
commit
d6856b1f54
@ -15,7 +15,7 @@
|
||||
*/
|
||||
package org.maxkey.authn.provider;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.maxkey.authn.AbstractAuthenticationProvider;
|
||||
import org.maxkey.authn.LoginCredential;
|
||||
@ -23,8 +23,8 @@ import org.springframework.security.core.Authentication;
|
||||
|
||||
public class AuthenticationProviderFactory extends AbstractAuthenticationProvider {
|
||||
|
||||
private static HashMap<String,AbstractAuthenticationProvider> providers =
|
||||
new HashMap<String,AbstractAuthenticationProvider>();
|
||||
private static ConcurrentHashMap<String,AbstractAuthenticationProvider> providers =
|
||||
new ConcurrentHashMap<String,AbstractAuthenticationProvider>();
|
||||
|
||||
@Override
|
||||
public Authentication authenticate(LoginCredential authentication){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user