org.scalatra.auth

ScentrySupport

trait ScentrySupport[UserType <: AnyRef] extends Handler with Initializable

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

Type Members

  1. trait Config extends AnyRef

  2. abstract type ConfigT

    Definition Classes
    Initializable
  3. abstract type ScentryConfiguration <: ScentryConfig

Abstract Value Members

  1. implicit abstract def configWrapper(config: ConfigT): Config

    Attributes
    protected
    Definition Classes
    Initializable
  2. abstract def fromSession: PartialFunction[String, UserType]

    Attributes
    protected
  3. abstract def scentryConfig: ScentryConfiguration

    Attributes
    protected
  4. abstract def toSession: PartialFunction[UserType, String]

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def authenticate()(implicit request: HttpServletRequest): Option[UserType]

    Attributes
    protected
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def configureScentry: Unit

    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  14. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

    Handles a request and writes to the response.

    Handles a request and writes to the response.

    Definition Classes
    ScentrySupportHandler
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def initialize(config: 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
  17. def isAnonymous(implicit request: HttpServletRequest): Boolean

    Attributes
    protected
  18. def isAuthenticated(implicit request: HttpServletRequest): Boolean

    Attributes
    protected
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def logOut()(implicit request: HttpServletRequest): Unit

    Attributes
    protected
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. 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
  25. def scentry(implicit request: HttpServletRequest): Scentry[UserType]

    Attributes
    protected
  26. def scentryOption(implicit request: HttpServletRequest): Option[Scentry[UserType]]

    Attributes
    protected
  27. 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
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. implicit def user(implicit request: HttpServletRequest): UserType

    Attributes
    protected
  31. def userOption(implicit request: HttpServletRequest): Option[UserType]

    Attributes
    protected
  32. def user_=(user: UserType)(implicit request: HttpServletRequest): AnyRef

    Attributes
    protected
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Initializable

Inherited from Handler

Inherited from AnyRef

Inherited from Any