Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-10) was last changed on 24-May-2006 17:09 by 209.221.240.193  

This page was created on 21-Oct-2002 14:28 by Mortena

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 6 changed one line
public interface Authenticator {
public abstract class Authenticator {
public boolean Login(String username, String password, HttpServletRequest request){
Wiki wiki = ...;
WikiUserPrincipal user = getWikiUserPrincipal(username,password,wiki);
request.getSession.setAttribute("user", user);
}
At line 8 changed 4 lines
* Method responsible for controlling the username and password
* and if they match a user of the system, then adding a WikiUserPrincipal
* to the session. If all that can be done
* the method returns true. Else false is returned.
* This method is responsible for controlling the username and password against
* some persistently saved mapping of these. The method returns a WikiUserPrincipal if
* the user can log in else null is returned (Maybe an exception or error should be thrown instead).
At line 13 changed one line
public boolean Login(String username, String password, HttpServletRequest request);
protected abstract WikiUserPrincipal getWikiUserPrincipal(String username, String password, WikiEngine wiki);
Version Date Modified Size Author Changes ... Change note
10 24-May-2006 17:09 2.976 kB 209.221.240.193 to previous
9 24-Nov-2004 10:16 2.972 kB Administrator to previous | to last
8 23-Nov-2004 20:50 2.885 kB KyleAdams to previous | to last
7 22-Oct-2002 01:49 2.623 kB Ebu to previous | to last
6 22-Oct-2002 01:48 2.56 kB Ebu to previous | to last
5 21-Oct-2002 15:18 1.0 kB Mortena to previous | to last
4 21-Oct-2002 14:42 0.866 kB Mortena to previous | to last
3 21-Oct-2002 14:41 0.793 kB Mortena to previous | to last
2 21-Oct-2002 14:29 0.469 kB Mortena to previous | to last
1 21-Oct-2002 14:28 0.366 kB Mortena to last
« This page (revision-10) was last changed on 24-May-2006 17:09 by 209.221.240.193