23
23
24
24
package domainapp .webapp ;
25
25
26
- import java .io .IOException ;
27
- import java .io .InputStream ;
28
- import java .nio .charset .Charset ;
29
- import java .util .List ;
30
-
31
- import javax .servlet .http .HttpServletRequest ;
32
-
33
26
import com .google .common .base .Joiner ;
34
27
import com .google .common .io .Resources ;
35
28
import com .google .inject .AbstractModule ;
36
29
import com .google .inject .Module ;
37
30
import com .google .inject .name .Names ;
38
31
import com .google .inject .util .Modules ;
39
32
import com .google .inject .util .Providers ;
40
-
33
+ import de .agilecoders .wicket .core .Bootstrap ;
34
+ import de .agilecoders .wicket .core .settings .IBootstrapSettings ;
35
+ import de .agilecoders .wicket .themes .markup .html .bootswatch .BootswatchTheme ;
36
+ import de .agilecoders .wicket .themes .markup .html .bootswatch .BootswatchThemeProvider ;
37
+ import java .io .IOException ;
38
+ import java .io .InputStream ;
39
+ import java .nio .charset .Charset ;
40
+ import java .util .List ;
41
+ import javax .servlet .http .HttpServletRequest ;
42
+ import org .apache .isis .viewer .wicket .viewer .IsisWicketApplication ;
43
+ import org .apache .isis .viewer .wicket .viewer .integration .wicket .AuthenticatedWebSessionForIsis ;
41
44
import org .apache .wicket .Session ;
42
45
import org .apache .wicket .request .IRequestParameters ;
43
46
import org .apache .wicket .request .Request ;
44
47
import org .apache .wicket .request .Response ;
45
48
import org .apache .wicket .request .http .WebRequest ;
46
-
47
- import org .apache .isis .viewer .wicket .viewer .IsisWicketApplication ;
48
- import org .apache .isis .viewer .wicket .viewer .integration .wicket .AuthenticatedWebSessionForIsis ;
49
-
50
- import de .agilecoders .wicket .core .Bootstrap ;
51
- import de .agilecoders .wicket .core .settings .IBootstrapSettings ;
52
- import de .agilecoders .wicket .themes .markup .html .bootswatch .BootswatchTheme ;
53
- import de .agilecoders .wicket .themes .markup .html .bootswatch .BootswatchThemeProvider ;
54
49
import org .slf4j .Logger ;
55
50
import org .slf4j .LoggerFactory ;
56
51
57
52
58
53
/**
59
54
* As specified in <tt>web.xml</tt>.
60
- *
61
- * <p>
62
- * See:
63
- *
55
+ *
56
+ * <p>See:
57
+ *
64
58
* <pre>
65
59
* <filter>
66
60
* <filter-name>wicket</filter-name>
71
65
* </init-param>
72
66
* </filter>
73
67
* </pre>
74
- *
75
68
*/
76
69
public class SimpleApplication extends IsisWicketApplication {
77
70
@@ -80,11 +73,10 @@ public class SimpleApplication extends IsisWicketApplication {
80
73
81
74
/**
82
75
* uncomment for a (slightly hacky) way of allowing logins using query args, eg:
83
- *
76
+ *
84
77
* <tt>{@code ?user=sven&pass=pass}</tt>
85
- *
86
- * <p>
87
- * for demos only, obvious.
78
+ *
79
+ * <p>for demos only, obvious.
88
80
*/
89
81
private static final boolean DEMO_MODE_USING_CREDENTIALS_AS_QUERYARGS = false ;
90
82
0 commit comments