Class CookieTokenCredentialsExtractor

java.lang.Object
io.inverno.mod.security.http.token.CookieTokenCredentialsExtractor
All Implemented Interfaces:
CredentialsExtractor<TokenCredentials>

public class CookieTokenCredentialsExtractor extends Object implements CredentialsExtractor<TokenCredentials>

A credentials extractor that extracts a token credentials stored in an HTTP cookie.

Since:
1.5
Author:
Jeremy Kuhn
  • Field Details

  • Constructor Details

    • CookieTokenCredentialsExtractor

      public CookieTokenCredentialsExtractor()

      Creates a cookie token credentials extractor with the default token cookie name.

    • CookieTokenCredentialsExtractor

      public CookieTokenCredentialsExtractor(String tokenCookie)

      Creates a cookie token credentials extractor with the specified token cookie name.

      Parameters:
      tokenCookie - the token cookie name
  • Method Details