|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserManager
This interface specifies the required methods for a user manager.
| Method Summary | |
|---|---|
Person |
getAuthenticatedUser(javax.servlet.http.HttpServletRequest req)
Returns the currently authenticated user, or null, if there is no user currently authenticated. |
void |
init(javax.servlet.ServletContext context,
org.apache.commons.configuration.Configuration config)
Initializes the module using the configuration. |
void |
setAuthenticatedUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Person user)
Sets the currently authenticated user. |
| Method Detail |
|---|
void init(javax.servlet.ServletContext context,
org.apache.commons.configuration.Configuration config)
Initializes the module using the configuration.
context - the ServletContext objectconfig - the Configuration objectPerson getAuthenticatedUser(javax.servlet.http.HttpServletRequest req)
Returns the currently authenticated user, or null, if there is no user currently authenticated.
req - the HttpServletRequest object
void setAuthenticatedUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Person user)
Sets the currently authenticated user.
req - the HttpServletRequest objectres - the HttpServletResponse objectuser - the currently authenticated user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||