1
2
3
4
5
6
7
8
9
10
11
12
13 package org.abstracthorizon.danube.http.auth;
14
15 import org.abstracthorizon.danube.http.HTTPContextBeanInfo;
16
17
18
19
20
21
22 public class JAASAuthenticatedHTTPContextBeanInfo extends HTTPContextBeanInfo {
23
24
25
26
27 public JAASAuthenticatedHTTPContextBeanInfo() {
28 this(JAASAuthenticatedHTTPContext.class);
29 }
30
31
32
33
34
35 public JAASAuthenticatedHTTPContextBeanInfo(Class<?> cls) {
36 super(cls);
37 }
38
39
40
41
42 public void init() {
43 super.init();
44
45 addProperty("sessionManager", "HTTP session manager");
46
47 addProperty("realm", "HTTP digest realm");
48
49 addProperty("loginContextName", "Login context name to be used");
50
51 addProperty("loginContext", "Login context", true, false);
52
53 addProperty("cacheTimeout", "Subject to auth strings cache timeout in milliseconds", true, false);
54
55 addProperty("minimumScanPeriod", "Minimum scan period for purging cache in milliseconds", true, false);
56
57 addProperty("forceAuthorisation", "Will it force authorisation if it isn't required", false, false);
58 }
59
60 }