Class AuthenticationProtectionService

java.lang.Object
io.jans.service.security.protect.AuthenticationProtectionService
io.jans.as.server.service.AuthenticationProtectionService

@ApplicationScoped @Named public class AuthenticationProtectionService extends io.jans.service.security.protect.AuthenticationProtectionService
Brute Force authentication protection service implementation
Author:
Yuriy Movchan Date: 08/21/2018
  • Field Summary

    Fields inherited from class io.jans.service.security.protect.AuthenticationProtectionService

    attemptExpiration, delayTime, maximumAllowedAttemptsWithoutDelay
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected void
     
    boolean
     
    void
    updateConfiguration(io.jans.as.model.configuration.AppConfiguration appConfiguration)
     

    Methods inherited from class io.jans.service.security.protect.AuthenticationProtectionService

    create, doDelayIfNeeded, getAttempts, getDelayTime, getNonExpiredAttempts, isReachAttemptRateLimit, storeAttempt

    Methods inherited from class java.lang.Object

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

    • AuthenticationProtectionService

      public AuthenticationProtectionService()
  • Method Details

    • init

      protected void init()
      Specified by:
      init in class io.jans.service.security.protect.AuthenticationProtectionService
    • updateConfiguration

      public void updateConfiguration(@Observes @ConfigurationUpdate io.jans.as.model.configuration.AppConfiguration appConfiguration)
    • getKeyPrefix

      protected String getKeyPrefix()
      Specified by:
      getKeyPrefix in class io.jans.service.security.protect.AuthenticationProtectionService
    • isEnabled

      public boolean isEnabled()