提交 d6856b1f 编写于 作者: M MaxKey

Update AuthenticationProviderFactory.java

上级 e24b5982
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.maxkey.authn.provider;
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){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册