Interface AuthenticationServiceSelectionPlan


public interface AuthenticationServiceSelectionPlan
Since:
5.1.0
  • Field Details

  • Method Details

    • registerStrategy

      void registerStrategy(AuthenticationServiceSelectionStrategy strategy)
      Register strategy handler.
      Parameters:
      strategy - the strategy
    • resolveService

      Service resolveService(Service service) throws Throwable
      Resolve service from authentication request.
      Parameters:
      service - the service
      Returns:
      the service
      Throws:
      Throwable - the throwable
    • resolveService

      <T extends Service> T resolveService(Service service, Class<T> clazz) throws Throwable
      Resolve service t.
      Type Parameters:
      T - the type parameter
      Parameters:
      service - the service
      clazz - the clazz
      Returns:
      the t
      Throws:
      Throwable - the throwable