trait ScentrySupport[UserType <: AnyRef] extends Initializable
- Self Type
 - ScentrySupport[UserType] with ScalatraBase
 
          
            Linear Supertypes
          
          
        
          
          
            
          
          
        
        
            Ordering
            
          - Alphabetic
 - By Inheritance
 
                  Inherited
                  
                  
- ScentrySupport
 - Initializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
              Visibility
              
        - Public
 - All
 
Type Members
- 
      
      
      
        
      
    
      
        
        trait
      
      
        
              Config
             extends AnyRef
      
      
      
- Definition Classes
 - Initializable
 
 - 
      
      
      
        
      
    
      
        abstract 
        type
      
      
        ConfigT
      
      
      
- Definition Classes
 - Initializable
 
 -  abstract type ScentryConfiguration <: ScentryConfig
 
Abstract Value Members
- 
      
      
      
        
      
    
      
        implicit abstract 
        def
      
      
        configWrapper(config: (ScentrySupport.this)#ConfigT): (ScentrySupport.this)#Config
      
      
      
- Attributes
 - protected
 - Definition Classes
 - Initializable
 
 - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        fromSession: PartialFunction[String, UserType]
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        scentryConfig: (ScentrySupport.this)#ScentryConfiguration
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        toSession: PartialFunction[UserType, String]
      
      
      
- Attributes
 - protected
 
 
Concrete Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        authenticate()(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        configureScentry(): Unit
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        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
 - ScentrySupport → Initializable
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        isAnonymous(implicit request: HttpServletRequest): Boolean
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        isAuthenticated(implicit request: HttpServletRequest): Boolean
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        logOut()(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        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
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        scentry(implicit request: HttpServletRequest): Scentry[UserType]
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        scentryOption(implicit request: HttpServletRequest): Option[Scentry[UserType]]
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        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
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        user(implicit request: HttpServletRequest): UserType
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        userOption(implicit request: HttpServletRequest): Option[UserType]
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        user_=(user: UserType)(implicit request: HttpServletRequest): String
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )