Class AuthnSMSCounter
- java.lang.Object
-
- pl.edu.icm.unity.stdext.credential.sms.AuthnSMSCounter
-
@Component public class AuthnSMSCounter extends java.lang.ObjectAuthn sms limit counter. Used bySMSVerificatorto check how many authn sms have been sent to user- Author:
- P.Piernik
-
-
Constructor Summary
Constructors Constructor Description AuthnSMSCounter(pl.edu.icm.unity.engine.api.utils.CacheProvider cacheProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)voidincValue(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)booleanreset(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
-
-
-
Method Detail
-
incValue
public void incValue(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
-
reset
public boolean reset(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
-
getValue
public int getValue(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
-
-