资源简介
完整项目在https://download.csdn.net/download/u010588262/10327539
这个资源是新增功能之后的main文件夹
对应博客系列:https://blog.csdn.net/u010588262/article/category/7548325
对应博客这篇:https://blog.csdn.net/u010588262/article/details/80014083
代码片段和文件信息
package com.hugeo.cas;
import org.apereo.cas.authentication.AuthenticationEventExecutionPlan;
import org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer;
import org.apereo.cas.authentication.AuthenticationHandler;
import org.apereo.cas.authentication.principal.DefaultPrincipalFactory;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.services.ServicesManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration(“CustomAuthConfig“)
@EnableConfigurationProperties(CasConfigurationProperties.class)
public class CustomAuthConfig implements AuthenticationEventExecutionPlanConfigurer{
@Autowired
private CasConfigurationProperties casProperties;
@Autowired
@Qualifier(“servicesManager“)
private ServicesManager servicesManager;
@Bean
public AuthenticationHandler myAuthenticationHandler() {
final Login handler = new Login(Login.class.getSimpleName() servicesManager new DefaultPrincipalFactory() 10);
return handler;
}
@Override
public void configureAuthenticationExecutionPlan(AuthenticationEventExecutionPlan plan) {
plan.registerAuthenticationHandler(myAuthenticationHandler());
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-03-27 13:02 java\
目录 0 2018-03-27 13:02 java\com\
目录 0 2018-03-27 13:02 java\com\hugeo\
目录 0 2018-04-22 11:37 java\com\hugeo\cas\
目录 0 2018-04-22 10:59 java\com\hugeo\cas\capcha\
文件 5101 2018-04-22 10:28 java\com\hugeo\cas\capcha\Capcha.java
文件 1853 2018-04-22 10:51 java\com\hugeo\cas\capcha\HugeoWebflowConfiguration.java
文件 1983 2018-04-22 10:57 java\com\hugeo\cas\capcha\HugeoWebflowConfigurer.java
文件 788 2018-04-22 10:59 java\com\hugeo\cas\capcha\UsernamePasswordCaptchaCredential.java
文件 1540 2018-04-20 08:17 java\com\hugeo\cas\CustomAuthConfig.java
文件 3236 2018-04-22 11:37 java\com\hugeo\cas\Login.java
文件 1133 2018-04-22 10:28 java\com\hugeo\cas\RegController.java
文件 233 2018-04-20 08:17 java\com\hugeo\cas\SpringConfig.java
目录 0 2018-04-22 10:58 resources\
文件 3159 2018-04-20 15:52 resources\application.properties
文件 105 2018-04-20 17:12 resources\hugeo.properties
目录 0 2018-04-22 10:18 resources\me
文件 179 2018-04-22 10:18 resources\me
目录 0 2018-04-20 09:06 resources\services\
文件 250 2018-03-27 13:08 resources\services\Apereo-10000002.json
文件 283 2018-04-03 16:27 resources\services\Client1-10000004.json
文件 300 2018-03-27 13:08 resources\services\HTTPSandIMAPS-10000001.json
文件 296 2018-04-20 09:06 resources\services\Localhost-10000003.json
目录 0 2018-04-20 09:14 resources\static\
目录 0 2018-04-20 15:49 resources\static\themes\
目录 0 2018-04-20 17:05 resources\static\themes\hugeo\
目录 0 2018-04-20 17:08 resources\static\themes\hugeo\css\
文件 28 2018-04-20 17:08 resources\static\themes\hugeo\css\cas.css
目录 0 2018-04-20 17:08 resources\static\themes\hugeo\js\
文件 15 2018-04-20 17:08 resources\static\themes\hugeo\js\cas.js
目录 0 2018-04-20 17:17 resources\templates\
............此处省略3个文件信息
- 上一篇:perl-Time-HiRes
- 下一篇:EDA病房呼叫系统
相关资源
- 易语言自定义加解密文本源码
- 自定义电子面单模版
- Power Electronic Converters Modeling and Contr
- CASS9.1最新S4数据及驱动+ET199数据及驱
- 卡西欧工程计算器模拟器Casio FX
- 可自定义导航网站源码
- CAD LISP24个源代码
- 自定义的TabCtrl控件实现
- CASE Studio 2.25
- NetApp FAS3050助阿尔卡特建ClearCase加速软
- tekla 自定义节点
- delphi 自定义消息窗口和进度条窗口,
- Excel自定义函数:字符串相似度
- Delphi自定义函数程序
- Analytical behaviour of concrete-encased CFST
- Optimal recovery of functions on the sphere on
- ios-工具类自定义带箭头弹出视图.zi
- 自定义VIewGroup实现仿淘宝商品详情页
- Spring Boot中自定义注解结合AOP实现主备
- 在国家自然科学基金11505208、11661141
- Characterization and Cytocompatibility of Nano
- Research on Forecasting Method of Urban Water
- Formation and Thermal Fatigue Properties of Fi
- Numerical simulation of temperature field and
- 易语言高级表格自定义计算公式源码
- Multivariate additive-multiplicative hazard mo
- The binding and unwinding properties of the Bl
- pEGFP-N2-CASK表达质粒的构建及鉴定
- opencv_traincascade训练分类器,手势识别
- 登录页的验证码
川公网安备 51152502000135号
评论
共有 条评论