\n"; $url->setParameter($page_param, ($current_page - 1)); if ($current_page > $first_page) print "[<< toString()) ."\">back]"; $last_page = $first_page + $page_count; for ($i = $first_page; $i < $last_page; $i++) { $page_nr = $i - $first_page + 1; if ($i == $current_page) { print "[$page_nr]"; } else { $url->setParameter($page_param, $i); print "[toString()) ."\">$page_nr]"; } } $more = ($current_page - $first_page + 1) < $page_count; if ($more) { $url->setParameter($page_param, ($current_page + 1)); print "[toString()) ."\">next >>]"; } print "\n"; } ?> JAAS login module using PAM for authentication.

[16516 views]

[]

[toggle ads]

JAAS-PAM

A library that provides access to PAM from JAAS. It is typically used to authenticate local users (shadow, passwd) from Java. The project JAAS-PAM is hosted on Sourceforge.