-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathParamKeys.php
More file actions
155 lines (135 loc) · 3.3 KB
/
Copy pathParamKeys.php
File metadata and controls
155 lines (135 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?php
/**
* AppserverIo\Appserver\ServletEngine\Security\Utils\ParamKeys
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* PHP version 5
*
* @author Tim Wagner <tw@appserver.io>
* @copyright 2015 TechDivision GmbH <info@appserver.io>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/appserver-io/appserver
* @link http://www.appserver.io
*/
namespace AppserverIo\Appserver\ServletEngine\Security\Utils;
/**
* Utility class that contains the parameter keys.
*
* @author Tim Wagner <tw@appserver.io>
* @copyright 2015 TechDivision GmbH <info@appserver.io>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/appserver-io/appserver
* @link http://www.appserver.io
*/
class ParamKeys
{
/**
* The key for the "lookupName" parameter.
*
* @var string
*/
const LOOKUP_NAME = 'lookupName';
/**
* The key for the "principalsQuery" parameter.
*
* @var string
*/
const PRINCIPALS_QUERY = 'principalsQuery';
/**
* The key for the "rolesQuery" parameter.
*
* @var string
*/
const ROLES_QUERY = 'rolesQuery';
/**
* The key for the "saltQuery" parameter.
*
* @var string
*/
const SALT_QUERY = 'saltQuery';
/**
* The key for the "passwordStacking" parameter.
*
* @var string
*/
const PASSWORD_STACKING = 'passwordStacking';
/**
* The key for the "hashAlgorithm" parameter.
*
* @var string
*/
const HASH_ALGORITHM = 'hashAlgorithm';
/**
* The key for the "hashEncoding" parameter.
*
* @var string
*/
const HASH_ENCODING = 'hashEncoding';
/**
* The key for the "hashCharset" parameter.
*
* @var string
*/
const HASH_CHARSET = 'hashCharset';
/**
* the key for the "salt" parameter.
*
* @var string
*/
const HASH_SALT = 'hashSalt';
/**
* The key for the "ignorePasswordCase" parameter.
*
* @var string
*/
const IGNORE_PASSWORD_CASE = 'ignorePasswordCase';
/**
* The key for the "principalClass" parameter.
*
* @var string
*/
const PRINCIPAL_CLASS = 'principalClass';
/**
* The key for the "unauthenticatedIdentity" parameter.
*
* @var string
*/
const UNAUTHENTICATED_IDENTITY = 'unauthenticatedIdentity';
/**
* The key for the "digestCallback" parameter.
*
* @var string
*/
const DIGEST_CALLBACK = 'digestCallback';
/**
* The key for the "userPathPrefix" parameter.
*
* @var string
*/
const USER_PATH_PREFIX = 'userPathPrefix';
/**
* The key for the "rolesPathPrefix" parameter.
*
* @var string
*/
const ROLES_PATH_PREFIX = 'rolesPathPrefix';
/**
* This is a utility class, so protect it against direct instantiation.
*/
private function __construct()
{
}
/**
* This is a utility class, so protect it against cloning.
*
* @return void
*/
private function __clone()
{
}
}