本文整理汇总了Java中org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler类的典型用法代码示例。如果您正苦于以下问题:Java Cas20ProxyHandler类的具体用法?Java Cas20ProxyHandler怎么用?Java Cas20ProxyHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Cas20ProxyHandler类属于org.jasig.cas.ticket.proxy.support包,在下文中一共展示了Cas20ProxyHandler类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onSetUp
import org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler; //导入依赖的package包/类
@Before
public void onSetUp() throws Exception {
final StaticApplicationContext context = new StaticApplicationContext();
context.refresh();
this.serviceValidateController = new ServiceValidateController();
this.serviceValidateController.setCentralAuthenticationService(getCentralAuthenticationService());
this.serviceValidateController.setAuthenticationSystemSupport(getAuthenticationSystemSupport());
final Cas20ProxyHandler proxyHandler = new Cas20ProxyHandler();
proxyHandler.setHttpClient(new SimpleHttpClientFactoryBean().getObject());
this.serviceValidateController.setProxyHandler(proxyHandler);
this.serviceValidateController.setApplicationContext(context);
this.serviceValidateController.setArgumentExtractor(getArgumentExtractor());
this.serviceValidateController.setServicesManager(getServicesManager());
}
开发者ID:hsj-xiaokang,项目名称:springboot-shiro-cas-mybatis,代码行数:15,代码来源:AbstractServiceValidateControllerTests.java
示例2: onSetUp
import org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler; //导入依赖的package包/类
@Before
public void onSetUp() throws Exception {
final StaticApplicationContext context = new StaticApplicationContext();
context.refresh();
this.serviceValidateController = new ServiceValidateController();
this.serviceValidateController.setCentralAuthenticationService(getCentralAuthenticationService());
final Cas20ProxyHandler proxyHandler = new Cas20ProxyHandler();
proxyHandler.setHttpClient(new SimpleHttpClientFactoryBean().getObject());
this.serviceValidateController.setProxyHandler(proxyHandler);
this.serviceValidateController.setApplicationContext(context);
this.serviceValidateController.setArgumentExtractor(new CasArgumentExtractor());
this.serviceValidateController.setServicesManager(this.servicesManager);
}
开发者ID:hsj-xiaokang,项目名称:springboot-shiro-cas-mybatis,代码行数:14,代码来源:AbstractServiceValidateControllerTests.java
示例3: onSetUp
import org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler; //导入依赖的package包/类
@Before
public void onSetUp() throws Exception {
StaticApplicationContext context = new StaticApplicationContext();
context.refresh();
this.serviceValidateController = new ServiceValidateController();
this.serviceValidateController.setCentralAuthenticationService(getCentralAuthenticationService());
final Cas20ProxyHandler proxyHandler = new Cas20ProxyHandler();
proxyHandler.setHttpClient(new SimpleHttpClient());
this.serviceValidateController.setProxyHandler(proxyHandler);
this.serviceValidateController.setApplicationContext(context);
this.serviceValidateController.setArgumentExtractor(new CasArgumentExtractor());
}
开发者ID:luotuo,项目名称:cas4.0.x-server-wechat,代码行数:13,代码来源:ServiceValidateControllerTests.java
示例4: verifyAfterPropertesSetTestEverything
import org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler; //导入依赖的package包/类
@Test
public void verifyAfterPropertesSetTestEverything() throws Exception {
this.serviceValidateController.setValidationSpecificationClass(Cas20ProtocolValidationSpecification.class);
this.serviceValidateController.setProxyHandler(new Cas20ProxyHandler());
}
开发者ID:hsj-xiaokang,项目名称:springboot-shiro-cas-mybatis,代码行数:6,代码来源:AbstractServiceValidateControllerTests.java
示例5: testAfterPropertesSetTestEverything
import org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler; //导入依赖的package包/类
@Test
public void testAfterPropertesSetTestEverything() throws Exception {
this.serviceValidateController.setValidationSpecificationClass(Cas20ProtocolValidationSpecification.class);
this.serviceValidateController.setProxyHandler(new Cas20ProxyHandler());
}
开发者ID:luotuo,项目名称:cas4.0.x-server-wechat,代码行数:6,代码来源:ServiceValidateControllerTests.java
注:本文中的org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论