Package org.gluu.oxauth.service
Class AuthenticationProtectionService
java.lang.Object
org.gluu.service.security.protect.AuthenticationProtectionService
org.gluu.oxauth.service.AuthenticationProtectionService
@ApplicationScoped
@Named
public class AuthenticationProtectionService
extends org.gluu.service.security.protect.AuthenticationProtectionService
Brute Force authentication protection service implementation
- Author:
- Yuriy Movchan Date: 08/21/2018
-
Field Summary
Fields inherited from class org.gluu.service.security.protect.AuthenticationProtectionService
attemptExpiration, delayTime, maximumAllowedAttemptsWithoutDelay -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidinit()booleanvoidupdateConfiguration(AppConfiguration appConfiguration) Methods inherited from class org.gluu.service.security.protect.AuthenticationProtectionService
create, doDelayIfNeeded, getAttempts, getDelayTime, getNonExpiredAttempts, isReachAttemptRateLimit, storeAttempt
-
Constructor Details
-
AuthenticationProtectionService
public AuthenticationProtectionService()
-
-
Method Details
-
init
protected void init()- Specified by:
initin classorg.gluu.service.security.protect.AuthenticationProtectionService
-
updateConfiguration
-
getKeyPrefix
- Specified by:
getKeyPrefixin classorg.gluu.service.security.protect.AuthenticationProtectionService
-
isEnabled
public boolean isEnabled()
-