<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Scott,<br>
Are you referring to Multi factor Login Handler?<br>
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/Multi&#43;Factor&#43;Login&#43;Handler">https://wiki.shibboleth.net/confluence/display/SHIB2/Multi&#43;Factor&#43;Login&#43;Handler</a><br>
<br>
Thanks<br>
On 03/26/2012 10:56 AM, Cantor, Scott wrote:
<blockquote cite="mid:CB95FB72.1F2A4%25cantor.2@osu.edu" type="cite">
<pre wrap="">On 3/26/12 10:49 AM, &quot;Eugene Dvorkin&quot; <a class="moz-txt-link-rfc2396E" href="mailto:Eugene.Dvorkin@ARTstor.org">&lt;Eugene.Dvorkin@ARTstor.org&gt;</a> wrote:

</pre>
<blockquote type="cite">
<pre wrap="">I have a requirement to create an IDP login page that will first check
against database for a set of test
usernames/ passwords and then, if not found, use LDAP directory to
search for users.
Can I combine LdapLoginModule with DatabaseLoginModule in some kind of
chain in login.config file?
</pre>
</blockquote>
<pre wrap="">
To a degree, yes. JAAS can compose modules for you as documented in its
configuration page. Specifically, you want the &quot;sufficient&quot; tag applied to
each one.

But you get very poor error handling, because JAAS will swallow the module
specific exceptions. If you want real error handling, you need a custom
login handler. My contributed handler (see Contributions page) addresses
that, in fact.

-- Scott

--
To unsubscribe from this list send an email to <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a>
</pre>
</blockquote>
<br>
</body>
</html>