Class AuthnMethodReferenceToPrincipalMappingStrategy

java.lang.Object
net.shibboleth.idp.plugin.authn.duo.impl.AuthnMethodReferenceToPrincipalMappingStrategy
All Implemented Interfaces:
Function<ProfileRequestContext,Collection<Principal>>

public class AuthnMethodReferenceToPrincipalMappingStrategy extends Object implements Function<ProfileRequestContext,Collection<Principal>>
A customisable principal mapping function that translates Authentication Method Reference (AMR) strings found in a Duo ID Token to internal Principal instances.

A convenience implementation of a context-to-principal mapping strategy supported by ValidateDuoTokenAuthenticationResult. It allows one or more Principals to be associated with each AMR value present in the authentication token.