All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.ui.security.dummy.DummyAuthenticationProvider.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.ui.security.dummy

import com.typesafe.config.Config
import pl.touk.nussknacker.ui.security.api.{AuthenticationProvider, AuthenticationResources}
import sttp.client3.SttpBackend

import scala.concurrent.{ExecutionContext, Future}

class DummyAuthenticationProvider extends AuthenticationProvider {

  override val name: String = "Dummy"

  override def createAuthenticationResources(
      config: Config,
      classLoader: ClassLoader
  )(implicit ec: ExecutionContext, sttpBackend: SttpBackend[Future, Any]): AuthenticationResources = {
    new DummyAuthenticationResources(name, DummyAuthenticationConfiguration.create(config))
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy