13693261870
2022-09-20 a666b5f9741ef9b21f547d3b2141752a0383c70c
src/java/org/apereo/cas/web/landtool/single/config/SingleLoginConfiguration.java
@@ -2,17 +2,14 @@
import org.apereo.cas.CentralAuthenticationService;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.landtool.single.flow.UserAlreadyLoginedCheckAction;
import org.apereo.cas.web.landtool.single.listener.TGTCreateEventListener;
import org.apereo.cas.web.landtool.single.listener.TgtCreateEventListener;
import org.apereo.cas.web.landtool.single.service.SingleLoginService;
import org.apereo.cas.web.landtool.single.service.UserIdObtainService;
import org.apereo.cas.web.landtool.single.service.impl.UserIdObtainServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.webflow.execution.Action;
/**
 * 单用户登录限制 配置
@@ -43,8 +40,8 @@
     * 注册事件监听tgt的创建
     */
    @Bean
    protected TGTCreateEventListener tgtCreateEventListener() {
        return new TGTCreateEventListener();
    protected TgtCreateEventListener tgtCreateEventListener() {
        return new TgtCreateEventListener();
    }
    
//    @Bean