BrightSide Workbench Full Report + Source Code
org.turro.elephant.context.ElephantLogin Class Reference

Static Public Member Functions

static void redirectToLogin (IConstructor constructor) throws IOException
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file ElephantLogin.java.

Member Function Documentation

◆ redirectToLogin()

static void org.turro.elephant.context.ElephantLogin.redirectToLogin ( IConstructor  constructor) throws IOException
static

Definition at line 30 of file ElephantLogin.java.

30  {
31  if(constructor != null) {
32  ElContext ctx = constructor.getCurrentContext();
33  if(ctx != null && ctx.getPath().startsWith("/user/user-list")) {
34  constructor.redirect("/user/user-list");
35  } else {
36  constructor.redirect("/user" + (ctx != null ? "?redir=" + ctx.getPath() : ""));
37  }
38  }
39  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: