Apereo CAS Server

趁着周末学习了下 Apereo CAS,点击查看学习源码  

CAS Server 服务启动类

org.apereo.cas.web.CasWebApplicationServletInitializer

CAS Server配置

org.apereo.cas.configuration.CasConfigurationProperties

配置允许访问的应用规则

org.apereo.cas.configuration.model.core.services.ServiceRegistryProperties

正则表达式验证 Service 是否是合法 Cas Client org.apereo.cas.services.RegexRegisteredService

org.apereo.cas.web.flow.login.InitialFlowSetupAction#configureWebflowForServices 调用 ServicesManager 获取注册的 Service

自定义 ServiceTicketIdGenerators

org.apereo.cas.config.CasDefaultServiceTicketIdGeneratorsConfiguration 创建 UniqueTicketIdGeneratorConfigurer org.apereo.cas.config.CasCoreTicketIdGeneratorsConfiguration#configurers 收集 UniqueTicketIdGeneratorConfigurer org.apereo.cas.config.CasCoreTicketsConfiguration#defaultServiceTicketFactory 创建 ServiceTicketFactory用到了 UniqueTicketIdGeneratorConfigurer

SLO

CAS-5.2.6单点登录-退出原理 org.apereo.cas.configuration.model.core.logout.LogoutProperties org.apereo.cas.configuration.model.core.slo.SloProperties org.apereo.cas.logout.config.CasCoreLogoutConfiguration org.apereo.cas.services.RegisteredServiceLogoutType 定义退出类型

org.apereo.cas.web.flow.logout.TerminateSessionAction#terminate org.apereo.cas.DefaultCentralAuthenticationService#destroyTicketGrantingTicket org.apereo.cas.logout.DefaultLogoutManager#performLogout org.apereo.cas.web.flow.logout.LogoutAction#doInternalExecute

你可能感兴趣的:(Apereo CAS Server)