Package io.jans.as.server.service
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected void
init()
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
-
Constructor Details
-
AuthenticationProtectionService
public AuthenticationProtectionService()
-
-
Method Details
-
init
protected void init()- Specified by:
init
in classio.jans.service.security.protect.AuthenticationProtectionService
-
updateConfiguration
public void updateConfiguration(@Observes @ConfigurationUpdate io.jans.as.model.configuration.AppConfiguration appConfiguration) -
getKeyPrefix
- Specified by:
getKeyPrefix
in classio.jans.service.security.protect.AuthenticationProtectionService
-
isEnabled
public boolean isEnabled()
-