org.scalatra.auth

ScentrySupport

trait ScentrySupport[TypeForUser <: AnyRef] extends Handler with Initializable with CookieSupport

Self Type
ScentrySupport[TypeForUser] with ScalatraKernel
Linear Supertypes
CookieSupport, Initializable, Handler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScentrySupport
  2. CookieSupport
  3. Initializable
  4. Handler
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Config

    Definition Classes
    Initializable
  2. abstract type ScentryConfiguration <: ScentryConfig

  3. type UserType = TypeForUser

Abstract Value Members

  1. abstract def fromSession: PartialFunction[String, (ScentrySupport.this)#UserType]

    Attributes
    protected
  2. abstract val scentryConfig: (ScentrySupport.this)#ScentryConfiguration

    Attributes
    protected
  3. abstract def toSession: PartialFunction[(ScentrySupport.this)#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(): Option[TypeForUser]

    Attributes
    protected
  8. def clone(): AnyRef

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

    Attributes
    protected
  10. implicit def cookieOptions: CookieOptions

    Definition Classes
    CookieSupport
  11. def cookies: SweetCookies

    Definition Classes
    CookieSupport
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  16. def handle(servletRequest: HttpServletRequest, servletResponse: HttpServletResponse): Unit

    Definition Classes
    ScentrySupport → CookieSupport → Handler
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def initialize(config: (ScentrySupport.this)#Config): Unit

    Definition Classes
    ScentrySupport → Initializable
  19. def isAnonymous: Boolean

    Attributes
    protected
  20. def isAuthenticated: Boolean

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

    Definition Classes
    Any
  22. def logOut(): Unit

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

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

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

    Definition Classes
    AnyRef
  26. 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
  27. def scentry: Scentry[(ScentrySupport.this)#UserType]

    Attributes
    protected
  28. def scentryOption: Option[Scentry[(ScentrySupport.this)#UserType]]

    Attributes
    protected
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def user: (ScentrySupport.this)#UserType

    Attributes
    protected
  32. def userOption: Option[(ScentrySupport.this)#UserType]

    Attributes
    protected
  33. def user_=(user: (ScentrySupport.this)#UserType): AnyRef

    Attributes
    protected
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def authenticated_?: Boolean

    Attributes
    protected
    Annotations
    @deprecated
    Deprecated

    use isAuthenticated

  2. def logOut_!: Unit

    Attributes
    protected
    Annotations
    @deprecated
    Deprecated

    use logOut()

  3. def unAuthenticated_?: Boolean

    Attributes
    protected
    Annotations
    @deprecated
    Deprecated

    use !isAuthenticated

Inherited from CookieSupport

Inherited from Initializable

Inherited from Handler

Inherited from AnyRef

Inherited from Any

Ungrouped