Skip to content

Instantly share code, notes, and snippets.

@cjac
Created November 14, 2016 18:26
Show Gist options
  • Save cjac/6c7f65cd35c129ef2829f0c85d5f183c to your computer and use it in GitHub Desktop.
Save cjac/6c7f65cd35c129ef2829f0c85d5f183c to your computer and use it in GitHub Desktop.
<b:bean
id="casAuthenticationProvider"
class="org.springframework.security.cas.authentication.CasAuthenticationProvider"
+ p:serviceProperties-ref="serviceProperties"
+ p:key="casAuthProviderKey"
>
<b:property name="authenticationUserDetailsService">
- <b:bean class="org.springframework.security.core.userdetails.UserDetailsByNameServiceWrapper">
+ <b:bean
+ class="org.springframework.security.core.userdetails.UserDetailsByNameServiceWrapper"
+ >
<b:constructor-arg ref="userService"/>
</b:bean>
</b:property>
- <!-- <b:property name="authenticationUserDetailsService" ref="userService" /> -->
- <b:property
- name="serviceProperties"
- ref="serviceProperties"
- />
- <b:property
- name="ticketValidator"
- >
+ <b:property name="REDACTED">
<b:bean
class="com.at4wireless.security.CustomCas20ServiceTicketValidator"
>
- <!-- <bean class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator"> -->
- <b:constructor-arg
- index="0"
- value="https://identity.linuxfoundation.org/cas/serviceValidate"
- />
+ <b:constructor-arg index="0" value="https://identity.linuxfoundation.org/cas/serviceValidate"/>
</b:bean>
</b:property>
- <b:property
- name="key"
- value="REDACTED"
- />
</b:bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment