Using CAS + Google Authenticator + Mysql (JPA)

Able to register and verify users successfully. But once restart the cas 
server, again ask to scan the bar code ?
How can I avoid this.

CAS properties
# Activate MFA globally for all, regardless of other settings
cas.authn.mfa.globalProviderId=mfa-gauth

cas.authn.mfa.gauth.issuer=CAS
cas.authn.mfa.gauth.label=CAS
cas.authn.mfa.gauth.windowSize=3
cas.authn.mfa.gauth.codeDigits=6
cas.authn.mfa.gauth.timeStepSize=30
cas.authn.mfa.gauth.rank=0
cas.authn.mfa.gauth.trustedDeviceEnabled=false
cas.authn.mfa.gauth.name=

#cas.authn.mfa.gauth.cleaner.enabled=true
#cas.authn.mfa.gauth.cleaner.schedule.startDelay=20000
#cas.authn.mfa.gauth.cleaner.schedule.repeatInterval=60000

cas.authn.mfa.gauth.bypass.type=DEFAULT
cas.authn.mfa.gauth.bypass.principalAttributeName=data_
cas.authn.mfa.gauth.bypass.principalAttributeValue=false


cas.authn.mfa.gauth.jpa.user=root
cas.authn.mfa.gauth.jpa.password=root
cas.authn.mfa.gauth.jpa.driverClass=com.mysql.jdbc.Driver
cas.authn.mfa.gauth.jpa.url=jdbc:mysql://localhost:3306/lportal?useSSL=false
cas.authn.mfa.gauth.jpa.dialect=org.hibernate.dialect.MySQLDialect
cas.authn.mfa.gauth.jpa.failFastTimeout=1
cas.authn.mfa.gauth.jpa.healthQuery=
cas.authn.mfa.gauth.jpa.isolateInternalQueries=false
cas.authn.mfa.gauth.jpa.leakThreshold=10
cas.authn.mfa.gauth.jpa.batchSize=1
cas.authn.mfa.gauth.jpa.ddl-auto=none

cas.authn.mfa.gauth.jpa.autocommit=false
cas.authn.mfa.gauth.jpa.idleTimeout=5000
cas.authn.mfa.gauth.jpa.pool.suspension=false
cas.authn.mfa.gauth.jpa.pool.minSize=6
cas.authn.mfa.gauth.jpa.pool.maxSize=18
cas.authn.mfa.gauth.jpa.pool.maxWait=2000

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c3f25ce7-a549-4de0-b36d-948f65b7eb2d%40apereo.org.

Reply via email to