Skip to content

Commit

Permalink
fixed security policy merging for hint and focus identification modules
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Feb 17, 2023
1 parent 4c6410c commit 01832a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,10 @@
<xsd:element name="authenticationSequenceName" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Defined authentication sequence, which will be use for reset credential.
Defines authentication sequence, which will be use for reset credential.
Since 4.7: it's better to specify sequence identifier here instead of sequence name
as name attribute becomes deprecated in some objects which are used for
authentication configuration starting from 4.7 version (e.g. in AuthenticationSequenceType)
</xsd:documentation>
<xsd:appinfo>
<a:since>4.1</a:since>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ private void mergeAuthenticationModules(AuthenticationsPolicyType mergedAuthenti
mergeAuthenticationModuleList(mergedAuthentication.getModules().getSecurityQuestionsForm(), modules.getSecurityQuestionsForm());
mergeAuthenticationModuleList(mergedAuthentication.getModules().getSmsNonce(), modules.getSmsNonce());
mergeAuthenticationModuleList(mergedAuthentication.getModules().getAttributeVerification(), modules.getAttributeVerification());
mergeAuthenticationModuleList(mergedAuthentication.getModules().getHint(), modules.getHint());
mergeAuthenticationModuleList(mergedAuthentication.getModules().getFocusIdentification(), modules.getFocusIdentification());
}

private <AM extends AbstractAuthenticationModuleType> void mergeAuthenticationModuleList(List<AM> mergedList, List<AM> listToProcess) {
Expand Down

0 comments on commit 01832a6

Please sign in to comment.