@ Override public AuthenticationManager getAuthenticationManager ( ) { if ( ValkyrieRepository . getInstance ( ) . getApplicationConfig ( ) . applicationContext ( ) . getBeansOfType ( AuthenticationManager . class ) . size ( ) != 0 ) return ValkyrieRepository . getInstance ( ) . getBean ( AuthenticationManager . class ) ; else { return null ; } }
Get the authentication manager in use .