Duo Username Lookup Strategy / Alternative Username

Jim Fox fox at washington.edu
Fri Feb 23 14:06:35 EST 2018


>> 4) Use a custom duo flow that injects your custom lookup strategy into the
>> ValidateDuoWebResponse bean.
>>
>>     <bean id="ValidateDuoWebResponse" scope="prototype"
>>        ...
>>        p:usernameLookupStrategy-
>> ref="uw.authn.Duo.UsernameLookupStrategy"
>>        ...
>
> Why wouldn't you use the bean name already defined for that?
>
> We don't care *what* your function does, but there's no need to give it a different name, we simply reserved the name so you wouldn't have to do all that copying and changing files. That's the basic model used throughout, we standardize the bean names to supply as the interface to override behavior.
>

Didn't know that.  It's not always clear which beans can be redefined 
without some unforeseen consequences.  So I just defined a new one.  It 
seemed safer.

Jim


More information about the users mailing list