<br><font size=2 face="sans-serif">Bernhard Graf <catalyst@augensalat.de>
wrote:</font>
<br>
<br><font size=2 face="sans-serif">> leonard.a.jaffe@jpmchase.com wrote:</font>
<br><font size=2 face="sans-serif">> </font>
<br><font size=2 face="sans-serif">> > What you need to do is subclass
C::P::A::Credential, and override the</font>
<br><font size=2 face="sans-serif">> > login() method.</font>
<br><font size=2 face="sans-serif">> ></font>
<br><font size=2 face="sans-serif">> > The login method is where
the username and password are checked, so</font>
<br><font size=2 face="sans-serif">> > you probably want to do
something like the following (probably</font>
<br><font size=2 face="sans-serif">> > borrowing the password check
form C::P::Authentication::CDBI):</font>
<br><font size=2 face="sans-serif">> </font>
<br><font size=2 face="sans-serif">> It works. But is not a trivial
thing, because it requires knowledge of </font>
<br><font size=2 face="sans-serif">> the - quite complex - Catalyst
authentication code.</font>
<br>
<br><font size=2 face="sans-serif">Or you could use the code I included,
which is not some pseudo-code I</font>
<br><font size=2 face="sans-serif">made up to make a point, but the very
same code I run in one of my cat</font>
<br><font size=2 face="sans-serif">apps. All you have to do is fill
in the status check where I indicated,</font>
<br><font size=2 face="sans-serif">and you should have working code.</font>
<br>
<br><font size=2 face="sans-serif">Len.</font>
<br>
<br>
<br><font size=2 face="sans-serif">-- </font>
<br><font size=2 face="sans-serif">Leonard A. Jaffe (614)213-4283</font>
<br><font size=2 face="sans-serif">JP Morgan Chase, Columbus, OH
</font>
<br><font size=2 face="sans-serif">DSS Monitoring Instrumentation Services</font>
<br><font size=2 face="sans-serif">leonard.a.jaffe@jpmchase.com</font>
<br>
<HTML><BODY><P><hr size=1></P><br>
<P><br>
This transmission may contain information that is privileged,<br>
confidential, legally privileged, and/or exempt from disclosure<br>
under applicable law. If you are not the intended recipient, you<br>
are hereby notified that any disclosure, copying, distribution, or<br>
use of the information contained herein (including any reliance<br>
thereon) is STRICTLY PROHIBITED. Although this transmission and<br>
any attachments are believed to be free of any virus or other<br>
defect that might affect any computer system into which it is<br>
received and opened, it is the responsibility of the recipient to<br>
ensure that it is virus free and no responsibility is accepted by<br>
JPMorgan Chase & Co., its subsidiaries and affiliates, as<br>
applicable, for any loss or damage arising in any way from its use.<br>
If you received this transmission in error, please immediately<br>
contact the sender and destroy the material in its entirety,<br>
whether in electronic or hard copy format. Thank you.<br>
</P></BODY></HTML>