CasPreauthFilter

class CasPreauthFilter(securityManager: WebSecurityManager, config: CasConfig, ticketValidator: TicketValidator) extends AbstractPreauthFilter

Processes a CAS service ticket.

class AbstractPreauthFilter
trait Logging
class GenericHttpFilter
trait Initializing
trait Filter
class Object
trait Matchable
class Any

Value members

Concrete methods

override protected def resovleToken(req: HttpServletRequest, res: HttpServletResponse, credential: Any): Option[PreauthToken]
Definition Classes
AbstractPreauthFilter

Inherited methods

override def destroy(): Unit
Definition Classes
GenericHttpFilter -> Filter
Inherited from
GenericHttpFilter
final override def doFilter(req: ServletRequest, res: ServletResponse, chain: FilterChain): Unit

Try to authenticate a pre-authenticated user if the user has not yet been authenticated.

Try to authenticate a pre-authenticated user if the user has not yet been authenticated.

Definition Classes
AbstractPreauthFilter -> Filter
Inherited from
AbstractPreauthFilter
protected def filterName: String

Make the name of this filter available to subclasses.

Make the name of this filter available to subclasses.

Inherited from
GenericHttpFilter
override def init(): Unit
Definition Classes
GenericHttpFilter -> Initializing
Inherited from
GenericHttpFilter
override def init(filterConfig: FilterConfig): Unit

Standard way of initializing this filter. Map config parameters onto bean properties of this filter, and invoke subclass initialization.

Standard way of initializing this filter. Map config parameters onto bean properties of this filter, and invoke subclass initialization.

Definition Classes
GenericHttpFilter -> Filter
Inherited from
GenericHttpFilter
def requiredProperties: Set[String]

Set of required properties (Strings) that must be supplied as config parameters to this filter.

Set of required properties (Strings) that must be supplied as config parameters to this filter.

Inherited from
GenericHttpFilter
protected def requiresAuthentication(req: HttpServletRequest, res: HttpServletResponse): Option[PreauthToken]
Inherited from
AbstractPreauthFilter
protected def successfulAuthentication(req: HttpServletRequest, res: HttpServletResponse, session: Session): Unit

Puts the <code>Authentication</code> instance returned by the authentication manager into the secure context.

Puts the <code>Authentication</code> instance returned by the authentication manager into the secure context.

Inherited from
AbstractPreauthFilter
protected def unsuccessfulAuthentication(req: HttpServletRequest, res: HttpServletResponse, failed: AuthenticationException): Unit

Ensures the authentication object in the secure context is set to null when authentication fails. If username not found or account status exception.just let other know by throw it. It will be handled by ExceptionTranslationFilter

Ensures the authentication object in the secure context is set to null when authentication fails. If username not found or account status exception.just let other know by throw it. It will be handled by ExceptionTranslationFilter

Inherited from
AbstractPreauthFilter

Concrete fields

Inherited fields

protected val logger: Logger
Inherited from
Logging
var securityContextBuilder: SecurityContextBuilder
Inherited from
AbstractPreauthFilter