org.springframework.security.config.annotation.authentication.configurers.userdetails
Class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>

java.lang.Object
  extended by org.springframework.security.config.annotation.SecurityConfigurerAdapter<AuthenticationManager,B>
      extended by org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsAwareConfigurer<B,U>
Type Parameters:
B - the type of the ProviderManagerBuilder
U - the type of UserDetailsService
All Implemented Interfaces:
SecurityConfigurer<AuthenticationManager,B>
Direct Known Subclasses:
DaoAuthenticationConfigurer, UserDetailsServiceConfigurer

public abstract class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>
extends SecurityConfigurerAdapter<AuthenticationManager,B>

Base class that allows access to the UserDetailsService for using as a default value with AuthenticationManagerBuilder.


Constructor Summary
UserDetailsAwareConfigurer()
           
 
Method Summary
abstract  U getUserDetailsService()
          Gets the UserDetailsService or null if it is not available
 
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, configure, getBuilder, init, postProcess, setBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDetailsAwareConfigurer

public UserDetailsAwareConfigurer()
Method Detail

getUserDetailsService

public abstract U getUserDetailsService()
Gets the UserDetailsService or null if it is not available

Returns:
the UserDetailsService or null if it is not available