Skip to content

Instantly share code, notes, and snippets.

@mmaravich
Created October 22, 2014 09:01
Show Gist options
  • Save mmaravich/5e44ffce39b7a5aab160 to your computer and use it in GitHub Desktop.
Save mmaravich/5e44ffce39b7a5aab160 to your computer and use it in GitHub Desktop.
<beans:bean id="userDetailsService" class="x.y.z.UserDetailsService" />
<beans:bean id="yubikeyAuthenticationProvider"
class="com.curlapp.yubikey.YubikeyAuthenticationProvider"
p:userDetailsService-ref="userDetailsService"
p:yubicoClientId="******" />
<authentication-manager alias="authenticationManager">
<authentication-provider ref="yubikeyAuthenticationProvider"/>
</authentication-manager>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment