Metadata Attributes for MFA retrieval in mfa-authn-config.xml script
cantor.2 at osu.edu
Fri Jun 23 18:46:21 UTC 2023
> I've tried
> authnRequestedPrincipalContext =
> but its not returning the values that I need.
That expression means to store off the class object for that Java class, it has no other functional result.
Pass that into authenticationContext.getSubcontext() and you'll get the RequestedPrincipalContext, which carries the translated information that is derived from the defaultAuthenticationMethods setting.
But the whole point of abstracting the context class values is to let the IdP just do the work when it decides how to do whatever it's doing. Checking for them by hand isn't really something you want to be doing much of.
More information about the users