Class WebappAuthenticationModule

java.lang.Object
com.google.inject.AbstractModule
com.peterphi.std.guice.web.rest.auth.userprovider.WebappAuthenticationModule
All Implemented Interfaces:
com.google.inject.Module

public class WebappAuthenticationModule extends com.google.inject.AbstractModule
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebappAuthenticationModule(com.codahale.metrics.MetricRegistry metrics, List<String> providerNames, GuiceConfig config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    getCurrentUser(com.google.inject.Injector injector, javax.servlet.http.HttpServletRequest request)
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebappAuthenticationModule

      public WebappAuthenticationModule(com.codahale.metrics.MetricRegistry metrics, List<String> providerNames, GuiceConfig config)
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule
    • getCurrentUser

      @Provides public CurrentUser getCurrentUser(com.google.inject.Injector injector, javax.servlet.http.HttpServletRequest request)