RotatingSecretComponents

com.gu.play.secretrotation.RotatingSecretComponents
See theRotatingSecretComponents companion object
trait RotatingSecretComponents extends BuiltInComponentsFromContext

Attributes

Companion
object
Graph
Supertypes
class BuiltInComponentsFromContext
trait ContextBasedBuiltInComponents
trait BuiltInComponents
trait AkkaTypedComponents
trait AkkaComponents
trait I18nComponents
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def configuration: Configuration

The application's configuration.

The application's configuration.

Attributes

Definition Classes
ContextBasedBuiltInComponents -> BuiltInComponents -> AkkaComponents -> I18nComponents

Inherited methods

protected def Action: DefaultActionBuilder

Alias method to defaultActionBuilder. This just helps to keep the idiom of using Action when creating Routers using the built in components.

Alias method to defaultActionBuilder. This just helps to keep the idiom of using Action when creating Routers using the built in components.

Attributes

Returns

the default action builder.

Inherited from:
BuiltInComponents
override def applicationLifecycle: ApplicationLifecycle

A registry to receive application lifecycle events, e.g. to close resources when the application stops.

A registry to receive application lifecycle events, e.g. to close resources when the application stops.

Attributes

Definition Classes
ContextBasedBuiltInComponents -> BuiltInComponents -> AkkaComponents
Inherited from:
ContextBasedBuiltInComponents
override def devContext: Option[DevContext]

Helper to interact with the Play build environment. Only available in dev mode.

Helper to interact with the Play build environment. Only available in dev mode.

Attributes

Definition Classes
ContextBasedBuiltInComponents -> BuiltInComponents
Inherited from:
ContextBasedBuiltInComponents
override def environment: Environment

The application's environment, e.g. it's ClassLoader and root path.

The application's environment, e.g. it's ClassLoader and root path.

Attributes

Definition Classes
ContextBasedBuiltInComponents -> BuiltInComponents -> AkkaComponents -> I18nComponents
Inherited from:
ContextBasedBuiltInComponents
def httpFilters: Seq[EssentialFilter]

List of filters, typically provided by mixing in play.filters.HttpFiltersComponents or play.api.NoHttpFiltersComponents.

List of filters, typically provided by mixing in play.filters.HttpFiltersComponents or play.api.NoHttpFiltersComponents.

In most cases you will want to mixin HttpFiltersComponents and append your own filters:

class MyComponents(context: ApplicationLoader.Context)
 extends BuiltInComponentsFromContext(context)
 with play.filters.HttpFiltersComponents {

 lazy val loggingFilter = new LoggingFilter()
 override def httpFilters = {
   super.httpFilters :+ loggingFilter
 }
}

If you want to filter elements out of the list, you can do the following:

class MyComponents(context: ApplicationLoader.Context)
 extends BuiltInComponentsFromContext(context)
 with play.filters.HttpFiltersComponents {
 override def httpFilters = {
   super.httpFilters.filterNot(_.getClass == classOf[CSRFFilter])
 }
}

Attributes

Inherited from:
BuiltInComponents
protected def parse: PlayBodyParsers

Alias method to playBodyParsers.

Alias method to playBodyParsers.

Attributes

Inherited from:
BuiltInComponents
def router: Router

The router that's used to pass requests to the correct handler.

The router that's used to pass requests to the correct handler.

Attributes

Inherited from:
BuiltInComponents
def webCommands: WebCommands

Commands that intercept requests before the rest of the application handles them. Used by Evolutions.

Commands that intercept requests before the rest of the application handles them. Used by Evolutions.

Attributes

Inherited from:
BuiltInComponents

Deprecated and Inherited methods

def sourceMapper: Option[SourceMapper]

Helper to locate the source code for the application. Only available in dev mode.

Helper to locate the source code for the application. Only available in dev mode.

Attributes

Deprecated
true
Inherited from:
BuiltInComponents

Abstract fields

val secretStateSupplier: SnapshotProvider

Concrete fields

lazy override val requestFactory: RequestFactory

Inherited fields

lazy val actorSystem: ActorSystem

Attributes

Inherited from:
AkkaComponents
lazy val application: Application

Attributes

Inherited from:
BuiltInComponents
lazy val classicActorSystemProvider: ClassicActorSystemProvider

Attributes

Inherited from:
AkkaComponents
override val context: Context

Attributes

Inherited from:
BuiltInComponentsFromContext
lazy val controllerComponents: ControllerComponents

Attributes

Inherited from:
ContextBasedBuiltInComponents
lazy val cookieSigner: CookieSigner

Attributes

Inherited from:
BuiltInComponents
lazy val coordinatedShutdown: CoordinatedShutdown

Attributes

Inherited from:
AkkaComponents
lazy val csrfTokenSigner: CSRFTokenSigner

Attributes

Inherited from:
BuiltInComponents
lazy val defaultActionBuilder: DefaultActionBuilder

Attributes

Inherited from:
BuiltInComponents
lazy val defaultBodyParser: BodyParser[AnyContent]

Attributes

Inherited from:
BuiltInComponents
lazy val fileMimeTypes: FileMimeTypes

Attributes

Inherited from:
BuiltInComponents
lazy val httpConfiguration: HttpConfiguration

Attributes

Inherited from:
BuiltInComponents
lazy val httpErrorHandler: HttpErrorHandler

Attributes

Inherited from:
BuiltInComponents
lazy val httpRequestHandler: HttpRequestHandler

Attributes

Inherited from:
BuiltInComponents
lazy val injector: Injector

The runtime Injector instance provided to the DefaultApplication. This injector is set up to allow existing (deprecated) legacy APIs to function. It is not set up to support injecting arbitrary Play components.

The runtime Injector instance provided to the DefaultApplication. This injector is set up to allow existing (deprecated) legacy APIs to function. It is not set up to support injecting arbitrary Play components.

Attributes

Inherited from:
BuiltInComponents
lazy val langs: Langs

Attributes

Inherited from:
I18nComponents
lazy val messagesApi: MessagesApi

Attributes

Inherited from:
I18nComponents
lazy val playBodyParsers: PlayBodyParsers

Attributes

Inherited from:
BuiltInComponents
lazy val tempFileCreator: TemporaryFileCreator

Attributes

Inherited from:
BuiltInComponents
lazy val tempFileReaper: TemporaryFileReaper

Attributes

Inherited from:
BuiltInComponents

Deprecated and Inherited fields

lazy val javaContextComponents: JavaContextComponents

Attributes

Deprecated
true
Inherited from:
BuiltInComponents

Implicits

Inherited implicits

implicit lazy val executionContext: ExecutionContext

Attributes

Inherited from:
AkkaComponents
implicit lazy val materializer: Materializer

Attributes

Inherited from:
AkkaComponents
implicit lazy val scheduler: Scheduler

Attributes

Inherited from:
AkkaTypedComponents