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

skinny.controller.SkinnyWebPageControllerFeatures.scala Maven / Gradle / Ivy

There is a newer version: 2.5.2
Show newest version
package skinny.controller

import skinny.controller.feature._

/**
 * Additional web pages specific features for SkinnyControllers.
 */
trait SkinnyWebPageControllerFeatures
    extends SkinnyControllerCommonBase
    with FlashFeature
    with TemplateEngineFeature
    with ScalateTemplateEngineFeature
    with CSRFProtectionFeature
    with XXSSProtectionHeaderFeature
    with XFrameOptionsHeaderFeature { self: BeforeAfterActionFeature =>

  override def handleForgeryIfDetected() = haltWithBody(403)(context)

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy