Subversion Repositories oidplus

Rev

Rev 2 | Rev 12 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 4
Line 22... Line 22...
22
        public function __construct() {
22
        public function __construct() {
23
                // TODO
23
                // TODO
24
        }
24
        }
25
 
25
 
26
        public function systemTitle() {
26
        public function systemTitle() {
-
 
27
                // TODO
-
 
28
                if (isset($_SERVER['SERVER_NAME']) && (($_SERVER['SERVER_NAME'] == 'oidplus.viathinksoft.com'))) {
-
 
29
                        return 'ViaThinkSoft Registration Authority';
-
 
30
                } else {
27
                return 'OIDplus 2.0';
31
                        return 'OIDplus 2.0';
28
        }
32
                }
-
 
33
        }
29
 
34
 
30
        public function globalCC() {
35
        public function globalCC() {
31
                // TODO
36
                // TODO
32
                return 'info@daniel-marschall.de';
37
                return 'info@daniel-marschall.de';
33
        }
38
        }
34
 
39
 
35
        public function minRaPasswordLength() {
40
        public function minRaPasswordLength() {
-
 
41
                // TODO
36
                return 6;
42
                return 6;
37
        }
43
        }
38
 
44
 
39
        /*   hardcoded in setup/ , because during installation, we dont have a settings database
45
        /*   hardcoded in setup/ , because during installation, we dont have a settings database
40
        public function minAdminPasswordLength() {
46
        public function minAdminPasswordLength() {
41
                return 6;
47
                return 6;
42
        }
48
        }
43
        */
49
        */
44
 
50
 
45
        public function maxInviteTime() {
51
        public function maxInviteTime() {
-
 
52
                // TODO
46
                return 0; // infinite
53
                return 0; // infinite
47
        }
54
        }
48
 
55
 
49
        public function maxPasswordResetTime() {
56
        public function maxPasswordResetTime() {
-
 
57
                // TODO
50
                return 0; // infinite
58
                return 0; // infinite
51
        }
59
        }
52
 
60
 
53
        public function oidinfoExportProtected() {
61
        public function oidinfoExportProtected() {
-
 
62
                // TODO
54
                // true = oidinfo_export.php requires admin login
63
                // true = oidinfo_export.php requires admin login
55
                // false = oidinfo_export.php can be accessed without restrictions
64
                // false = oidinfo_export.php can be accessed without restrictions
56
                return false;
65
                return false;
57
        }
66
        }
58
 
67