Interface TokenLockProvider

All Known Implementing Classes:
NoOpTokenLockProvider, StripedTokenLockProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TokenLockProvider
Provides locks for tokens. Same instance of TokenLockProvider should be reused across all CrowdHttpAuthenticators at runtime.
  • Method Summary

    Modifier and Type
    Method
    Description
    getLock(String token)
    Returns lock for given token
  • Method Details

    • getLock

      Lock getLock(String token)
      Returns lock for given token
      Parameters:
      token - SSO token
      Returns:
      lock