提交 a5d66a28 编写于 作者: sq3536's avatar sq3536

simuluser

上级 5db1dce2
package cn.ibizlab.web.service;
import cn.ibizlab.util.security.AuthenticationUser;
import cn.ibizlab.util.service.AuthenticationUserService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.stereotype.Service;
@Service
@ConditionalOnExpression("'${spring.application.name:ibzuaa-api}'.startsWith('ibzuaa-web')")
public class SimulUserService implements AuthenticationUserService {
@Override
public AuthenticationUser loadUserByUsername(String username) {
return null;
}
@Override
public AuthenticationUser loadUserByLogin(String username, String password) {
return null;
}
@Override
public void resetByUsername(String username) {
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册