Hello Vaidhyanathan,
Thanks for contacting the Support Community!.
That said, I've never seen this exception before; searching a little bit over the web, it seems to be hit by different people using spring-boot and Shiro altogether, doesn't seem to be specific to GemFire...
I've also found this old ticket in the Geode Jira System (GemFire is based on Geode), it's really old and apparently it was fixed so I'm not sure you're hitting it or not: GEODE-3692.
I'd recommend to open a Support Ticket and attach all the relevant artefacts (logs, statistics and configuration files along with the smallest possible reproducible scenario) so one of our support engineers can assist you further.
Best regards.