package com.tashow.cloud.sso.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * SSO模块安全配置类
 */
@Configuration
public class SsoSecurityConfig {

    /**
     * 配置密码编码器
     * 使用BCrypt强哈希算法
     */
    @Bean
    public BCryptPasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();
    }
} 