<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Hello everyone!
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">I have this config property set to first try my custom SSO-cookie auth and only afterwards the JAAS password method:</div>
<div class="ContentPasted0">idp.authn.flows = Function|Password</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Since upgrading from IDP 4.2.1 to 4.3.1 the password login page displays the error message defined in messages/messages.properties:authn.message right away, probably because the Function call failed (because either our SSO-cookie
 didn't exist yet or was expired).</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Also when trying to login with wrong credentials via JAAS, 4.2.1 displayed the message I've passed through from our custom Auth-Web Service like so:</div>
<div class="ContentPasted0">throw new FailedLoginException(ourErrorMessage)</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Now with 4.3.1 it continues to display the error message it already starts out with from messages/messages.properties:authn.message</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Can you tell me how I should adept my config to get back the privous behavior:</div>
<div class="ContentPasted0">* no initial error message displayed in the Username+Password form views/login.vm (from the failed Function loginFlow that runs first)</div>
<div class="ContentPasted0">* display the custom error message on a failed user+password login attempt from the FailedLoginException instead of the standard static one from messages/messages.properties:authn.message</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Thank you!</div>
<div class="ContentPasted0">Kind regards,</div>
<div class="ContentPasted0">Thomas Käfer</div>
FH Campus Wien<br>
</div>
<div style="font-size:10pt;  font-family: 'Verdana',sans-serif;">
<p>Informationen zum Datenschutz: www.fh-campuswien.ac.at/datenschutzerklaerung </p>
</div>
</body>
</html>