Builder

class Builder<P : Principal>(val cookieName: String) : AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>

Builder for CookieTokenAuthFilter. The user must specify a cookieName to read the token from to begin the building process. The user must provide an Authenticator to authenticate the cookie and return a Principal that corresponds to the cookie token value during the building process.

Constructors

Link copied to clipboard
constructor(cookieName: String)

Properties

Link copied to clipboard
private val cookieName: String

Functions

Link copied to clipboard
Link copied to clipboard
protected open override fun newInstance(): CookieTokenAuthFilter<P>
Link copied to clipboard
open fun setAuthenticator(p0: Authenticator<String?, P>): AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>
Link copied to clipboard
open fun setAuthorizer(p0: Authorizer<P>): AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>
Link copied to clipboard
open fun setPrefix(p0: String): AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>
Link copied to clipboard
open fun setRealm(p0: String): AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>
Link copied to clipboard
open fun setUnauthorizedHandler(p0: UnauthorizedHandler): AuthFilter.AuthFilterBuilder<String?, P, CookieTokenAuthFilter<P>>