| | |
| | | |
| | | 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; |
| | | |
| | | /** |
| | | * 单用户登录限制 配置 |
| | |
| | | * 注册事件监听tgt的创建 |
| | | */ |
| | | @Bean |
| | | protected TGTCreateEventListener tgtCreateEventListener() { |
| | | return new TGTCreateEventListener(); |
| | | protected TgtCreateEventListener tgtCreateEventListener() { |
| | | return new TgtCreateEventListener(); |
| | | } |
| | | |
| | | // @Bean |