Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getKeyPrefix()  
      protected void init()  
      boolean isEnabled()  
      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 Detail

      • AuthenticationProtectionService

        public AuthenticationProtectionService()
    • Method Detail

      • 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 java.lang.String getKeyPrefix()
        Specified by:
        getKeyPrefix in class io.jans.service.security.protect.AuthenticationProtectionService
      • isEnabled

        public boolean isEnabled()