I hereby claim:
- I am dima767 on github.
- I am dima767 (https://keybase.io/dima767) on keybase.
- I have a public key ASDk1xd7Db0BV0Ahu4uP571kILT4tvvPcnySWrfTRbWVzwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <bean id="connectionFactory" class="org.ldaptive.DefaultConnectionFactory"> | |
| <constructor-arg index="0" value="ldap://dir1"/> | |
| </bean> | |
| <bean id="provider" factory-bean="connectionFactory" factory-method="getProvider"/> | |
| <bean id="providerConfig" factory-bean="provider" factory-method="getProviderConfig"> | |
| <property name="connectionStrategy" value="ROUND_ROBIN"/> | |
| </bean> |
I hereby claim:
To claim this, I am signing this object:
| package net.unicon.cas.client.configuration; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.boot.context.embedded.FilterRegistrationBean; | |
| import org.springframework.context.ConfigurableApplicationContext; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.web.bind.annotation.RequestMapping; | |
| import org.springframework.web.bind.annotation.RequestMethod; |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:task="http://www.springframework.org/schema/task" | |
| xmlns:context="http://www.springframework.org/schema/context" | |
| xmlns:cas="http://unicon.net/schema/cas" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans.xsd | |
| http://www.springframework.org/schema/task |
| @Grab(group='org.yaml', module='snakeyaml', version='1.14') | |
| import org.yaml.snakeyaml.* | |
| def yamlDoc = """ | |
| --- | |
| services: | |
| - | |
| id: 1 | |
| serviceId: https://www.google.com/** | |
| name: "GOOGLE" |
| --- | |
| services: | |
| - | |
| id: 1 | |
| serviceId: https://www.google.com/** | |
| name: GOOGLE | |
| description: Test service with ant-style pattern matching | |
| theme: my_example_theme | |
| allowedToProxy: true | |
| enabled: true |
| @Configuration | |
| @EnableAutoConfiguration | |
| @ComponentScan | |
| class SampleApplication implements ApplicationListener<ContextRefreshedEvent> { | |
| static void main(String[] args) throws Exception { | |
| SpringApplication.run(SampleApplication.class, args) | |
| } | |
| @Override |
| <!-- CAS client filters --> | |
| <filter> | |
| <filter-name>CAS Authentication Filter</filter-name> | |
| <filter-class> | |
| org.jasig.cas.client.authentication.AuthenticationFilter | |
| </filter-class> | |
| <init-param> | |
| <param-name>casServerLoginUrl</param-name> | |
| <param-value>{cas-server}/cas/login</param-value> | |
| </init-param> |
| { | |
| "services":[ | |
| { | |
| "id":"1", | |
| "serviceId":"https://www.google.com", | |
| "name":"GOOGLE", | |
| "description":"Test Google service", | |
| "evaluationOrder":"1", | |
| "extraAttributes":{ | |
| "authzAttributes":{ |