Packages

t

org.scalatra.auth

ScentrySupport

trait ScentrySupport[UserType <: AnyRef] extends Initializable

Self Type
ScentrySupport[UserType] with ScalatraBase
Linear Supertypes
Initializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScentrySupport
  2. Initializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Config extends AnyRef
    Definition Classes
    Initializable
  2. abstract type ConfigT
    Definition Classes
    Initializable
  3. abstract type ScentryConfiguration <: ScentryConfig

Abstract Value Members

  1. implicit abstract def configWrapper(config: (ScentrySupport.this)#ConfigT): (ScentrySupport.this)#Config
    Attributes
    protected
    Definition Classes
    Initializable
  2. abstract def fromSession: PartialFunction[String, UserType]
    Attributes
    protected
  3. abstract def scentryConfig: (ScentrySupport.this)#ScentryConfiguration
    Attributes
    protected
  4. abstract def toSession: PartialFunction[UserType, String]
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def authenticate()(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def configureScentry(): Unit
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. def initialize(config: (ScentrySupport.this)#ConfigT): Unit

    A hook to initialize the class with some configuration after it has been constructed.

    A hook to initialize the class with some configuration after it has been constructed.

    Not called init because GenericServlet doesn't override it, and then we get into https://lampsvn.epfl.ch/trac/scala/ticket/2497.

    Definition Classes
    ScentrySupportInitializable
  14. def isAnonymous(implicit request: HttpServletRequest): Boolean
    Attributes
    protected
  15. def isAuthenticated(implicit request: HttpServletRequest): Boolean
    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def logOut()(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def registerAuthStrategies(): Unit

    Override this method to register authentication strategies specific to this servlet.

    Override this method to register authentication strategies specific to this servlet. registerAuthStrategy('UserPassword, app => new UserPasswordStrategy(app))

    Attributes
    protected
  22. def scentry(implicit request: HttpServletRequest): Scentry[UserType]
    Attributes
    protected
  23. def scentryOption(implicit request: HttpServletRequest): Option[Scentry[UserType]]
    Attributes
    protected
  24. def shutdown(): Unit

    A hook to shutdown the class.

    A hook to shutdown the class. Bridges the gap between servlet's destroy and filter's destroy.

    Attributes
    protected
    Definition Classes
    Initializable
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. implicit def user(implicit request: HttpServletRequest): UserType
    Attributes
    protected
  28. def userOption(implicit request: HttpServletRequest): Option[UserType]
    Attributes
    protected
  29. def user_=(user: UserType)(implicit request: HttpServletRequest): String
    Attributes
    protected
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped