Class UsernameFromAuthenticationContextLookupStrategy

java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.impl.UsernameFromAuthenticationContextLookupStrategy
All Implemented Interfaces:
Function<ProfileRequestContext,String>

public class UsernameFromAuthenticationContextLookupStrategy extends Object implements Function<ProfileRequestContext,String>
A strategy that takes the UsernamePrincipal from the authentication context iff there is only one. Returning null otherwise.