Ryan,
How do you configure your CasAuthenticationFilter? Do you configure
AuthenticationManager? Here is an example:
.addFilterBefore( casAuthenticationFilter(), .....)
private CasAuthenticationFilter casAuthenticationFilter( )
{
CasAuthenticationFilter authenticationFilter = new CasAuthenticationFilter(
);
authenticationFilter.setAuthenticationManager( authenticationManager );
return authenticationFilter;
}
@Bean
protected AuthenticationManager authenticationManager( )
{
return new ProviderManager( Arrays.asList( casAuthenticationProvider( ) )
);
}
@Bean
public CasAuthenticationProvider casAuthenticationProvider( )
{
final CasAuthenticationProvider provider = new CasAuthenticationProvider(
);
provider.setServiceProperties( serviceProperties );
provider.setKey( "CAS_DUMMY_KEY" );
return provider;
}
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/879c0016-b851-436a-877d-b08d2a05ccb8%40apereo.org.