Interface WarlockDangerService

  • All Implemented Interfaces:

    
    public interface WarlockDangerService
    
                        
    Since:

    2023-07-10

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void block(Enum<out Object> authType, String username, int seconds) block this login
      abstract int check(Enum<out Object> authType, String username) check blocking second
      abstract void allow(Enum<out Object> authType, String username) allow this login
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • block

         abstract void block(Enum<out Object> authType, String username, int seconds)

        block this login

        Parameters:
        authType - authn type
        username - username
        seconds - username
      • check

         abstract int check(Enum<out Object> authType, String username)

        check blocking second

        Parameters:
        authType - authn type
        username - username
        Returns:

        zero or negative mean allow

      • allow

         abstract void allow(Enum<out Object> authType, String username)

        allow this login

        Parameters:
        authType - authn type
        username - username