Class Ltpa2AuthManager

java.lang.Object
de.sephirothj.spring.security.ltpa2.reactive.Ltpa2AuthManager
All Implemented Interfaces:
org.springframework.security.authentication.ReactiveAuthenticationManager

public class Ltpa2AuthManager extends Object implements org.springframework.security.authentication.ReactiveAuthenticationManager
Performs the final authentication of an Authentication instance previously created by Ltpa2AuthConverter.
Author:
Sephiroth
  • Constructor Details

    • Ltpa2AuthManager

      public Ltpa2AuthManager()
  • Method Details

    • authenticate

      public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> authenticate(org.springframework.security.core.Authentication authentication)
      Attempts to authenticate the provided Authentication with a Ltpa2Token as credentials
      Specified by:
      authenticate in interface org.springframework.security.authentication.ReactiveAuthenticationManager
      Parameters:
      authentication - the Authentication to test
      Returns:
      If authentication is successful an Authentication is returned. If authentication cannot be determined, an empty Mono is returned. If authentication fails, a Mono error is returned.