Re: integrating with external authentication system
I had that same problem when trying to make only one register & only one login from my site with bbpress integration.
register is easy, I just wrote directly to the db from php using the hash classes included. but for login i made a kind of webservice. When I login from tomcat I just request the next url…
and i wrote the next code for bb-login-check.php
<?php
// Load bbPress.
require(‘./bb-load.php’);
// Redirect to an SSL page if required.
bb_ssl_redirect();
$user = bb_login( @$_GET, @$_GET, @$_GET );
if ( $user && !is_wp_error( $user ) ) {
echo “0”;//login successfully
exit;
}else{
echo “1”; //login fail
exit;
}
?>
i hope that’s usefull…
for any question or help needed for bbpress or wordpress try fran.rod.rod [at] gmail.com