CasPreauthFilter

org.beangle.security.realm.cas.CasPreauthFilter
class CasPreauthFilter(securityManager: WebSecurityManager, config: CasConfig, ticketValidator: TicketValidator) extends AbstractPreauthFilter

Processes a CAS service ticket.

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

Attributes

Definition Classes
AbstractPreauthFilter

Inherited methods

override def destroy(): Unit

Attributes

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.

Attributes

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.

Attributes

Inherited from:
GenericHttpFilter
override def init(): Unit

do initialization.

do initialization.

Attributes

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.

Attributes

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.

Attributes

Inherited from:
GenericHttpFilter
protected def requiresAuthentication(req: HttpServletRequest, res: HttpServletResponse): Option[PreauthToken]

Attributes

Inherited from:
AbstractPreauthFilter
protected def successfulAuthentication(req: HttpServletRequest, res: HttpServletResponse, session: Session): Unit

Puts the Authentication instance returned by the authentication manager into the secure context.

Puts the Authentication instance returned by the authentication manager into the secure context.

Attributes

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

Attributes

Inherited from:
AbstractPreauthFilter

Concrete fields

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging
var securityContextBuilder: SecurityContextBuilder

Attributes

Inherited from:
AbstractPreauthFilter