Using OpenID for local web application authentication

We have a problem, and that problem is authentication. In a not uncommonpattern, we have a central set of core services, run by a core group;email, fileservers, the login servers, and so on. Then we have a bunchof other people who want to build various web applications, rangingfrom departmental things all the way down to graduate students puttingtogether projects.

Many of these web applications need accounts and authentication. Thenatural and best logins and passwords to use are people's existingdepartmental


為打交找個理由

「證明自己的存在」是漫畫裏常有的對白,有一些會透過戰鬥,有一些會透過學習,有一些會透過愛情,用不同的方式,在肉體、知性和感情之中,確定自己是存在的。我想知道那些看定位為少年漫畫的讀者,到底懂不懂主角們

大批電車男/女出現於電車內的聖誕派對?

搞下爛Gag嗟,唔好嬲,電車男之唔係我,係我,係我。

言歸正轉,我一日彈人家搞的Blogger活動,但時間許可的話,我總還是會應約而去,尤其是 Nokia 吹雞搞的。

原因很簡單,雖然無送手機派大禮,但參加過這麼多Blogger活動中,相信只有

Continue reading...

Displaying a User's Signature on a Node Page in Drupal

A project I'm working on required a user's signature be displayed on the user's blog posts (only on the page—not in blog teaser listings), and after much wrangling, I figured out how to put the 'Biography' (one of the user profile fields) into the nodes when they were viewed individually.

Here's the snippet (to be placed into node.tpl.php or node-blog.tpl.php):