|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserIdentifier
Lets defining how identifying a user thanks to a HTTP request.
This interface is mainly used by any subclass of AbstractUWS to extract the user ID of the author of a UWS action to apply.
It can be set by the function: AbstractUWS.setUserIdentifier(UserIdentifier).
| Method Summary | |
|---|---|
java.lang.String |
extractUserId(UWSUrl urlInterpreter,
javax.servlet.http.HttpServletRequest request)
Extracts the ID of the user/owner of the current session. |
| Method Detail |
|---|
java.lang.String extractUserId(UWSUrl urlInterpreter,
javax.servlet.http.HttpServletRequest request)
throws UWSException
Extracts the ID of the user/owner of the current session.
This method is called just before choosing and applying a UWSAction.
urlInterpreter - The interpreter of the request URL.request - The request.
UWSException - If any error occurs while extraction the user ID from the given parameters.AbstractUWS.executeRequest(HttpServletRequest, HttpServletResponse)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||