randomuser878
unread,Jul 16, 2020, 3:49:58 PM7/16/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
Hello
Generally folks are used to see only a digit block when entering MFA codes either email or SMS.
Has anyone able to change CASMFA to something else and/or successfully change to only digits. Applies to cas simple email, and/or any SMS based solutions.
Thanks.
Open to code compilation if needed.
Tried to change to say one letter string entry
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/CasSimpleMultifactorAuthenticationTicketFactory.java
...
public class CasSimpleMultifactorAuthenticationTicketFactory implements TransientSessionTicketFactory {
/**
* MFA ticket prefix.
*/
public static final String PREFIX = "CASMFA";
...
But then you get a failure on retrieval phase per "Ticket definition for ... cannot be found in the ticket catalog which only contains the following ticket types: [[TGT, ST, PT, TST, PGT, CASMFA]]>"
Entry stays in the storage and also cleanup process shows similar errors while trying to cleanup the ticket of unknown types.
No idea where else CASMFA is defined as the base ticket types to attempt the change.
Thanks.