Class InMemoryAuthenticationProviderFactory

java.lang.Object
com.aquima.web.boot.security.InMemoryAuthenticationProviderFactory

public class InMemoryAuthenticationProviderFactory extends Object
  • Constructor Details

    • InMemoryAuthenticationProviderFactory

      public InMemoryAuthenticationProviderFactory(org.springframework.core.env.Environment env, PasswordEncodersUtil passwordEncodersUtil, String propertiesResourceLocation, String authProviderName) throws com.aquima.interactions.foundation.io.ResourceException, IOException
      Throws:
      com.aquima.interactions.foundation.io.ResourceException
      IOException
  • Method Details

    • create

      public org.springframework.security.authentication.AuthenticationProvider create(org.springframework.security.config.annotation.ObjectPostProcessor<Object> objectPostProcessor)
      Create a new DaoAuthenticationProvider with InMemoryUserDetailsManager populated with the users from specified usersProperties
      Parameters:
      objectPostProcessor - Spring ObjectPostProcessor used to properly initialize Spring beans programmatically
      Returns:
      A new AuthenticationProvider backed by specified usersProperties