Skip to content

Commit 20438db

Browse files
committed
Fixed unit tests and DefaultHttpUtilities
1 parent b4bd4e3 commit 20438db

File tree

5 files changed

+2738
-2736
lines changed

5 files changed

+2738
-2736
lines changed

.codenvy/project.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"builders":{"configs":{},"default":"maven"},"mixinTypes":["contribution"],"runners":{"configs":{"system:/java/codenvy-cli":{"ram":1000,"variables":{},"options":{}}},"default":"system:/java/codenvy-cli"},"type":"maven","attributes":{"languageVersion":["1.6"],"language":["java"],"contribute_branch":["master"],"contribute_mode":["contribute"]}}
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
/**
2-
* OWASP Enterprise Security API (ESAPI)
3-
*
4-
* This file is part of the Open Web Application Security Project (OWASP)
5-
* Enterprise Security API (ESAPI) project. For details, please see
6-
* <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>.
7-
*
8-
* Copyright (c) 2007 - The OWASP Foundation
9-
*
10-
* The ESAPI is published by OWASP under the BSD license. You should read and accept the
11-
* LICENSE before you use, modify, and/or redistribute this software.
12-
*
13-
* @author Jeff Williams <a href="http://www.aspectsecurity.com">Aspect Security</a>
14-
* @created 2007
15-
*/
16-
package org.owasp.esapi.errors;
17-
18-
/**
19-
* An AccessControlException should be thrown when a user attempts to access a
20-
* resource that they are not authorized for.
21-
*
22-
* @author Jeff Williams ([email protected])
23-
*/
24-
public class AccessControlException extends EnterpriseSecurityException {
25-
26-
/** The Constant serialVersionUID. */
27-
private static final long serialVersionUID = 1L;
28-
29-
/**
30-
* Instantiates a new access control exception.
31-
*/
32-
protected AccessControlException() {
33-
// hidden
34-
}
35-
36-
/**
37-
* Creates a new instance of {@code AccessControlException}.
38-
*
39-
* @param userMessage
40-
* @param logMessage
41-
*/
42-
public AccessControlException(String userMessage, String logMessage) {
43-
super(userMessage, logMessage);
44-
}
45-
46-
/**
47-
* Instantiates a new access control exception.
48-
*
49-
* @param userMessage the message displayed to the user
50-
* @param logMessage the message logged
51-
* @param cause the root cause
52-
*/
53-
public AccessControlException(String userMessage, String logMessage, Throwable cause) {
54-
super(userMessage, logMessage, cause);
55-
}
56-
57-
}
1+
/**
2+
* OWASP Enterprise Security API (ESAPI)
3+
*
4+
* This file is part of the Open Web Application Security Project (OWASP)
5+
* Enterprise Security API (ESAPI) project. For details, please see
6+
* <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>.
7+
*
8+
* Copyright (c) 2007 - The OWASP Foundation
9+
*
10+
* The ESAPI is published by OWASP under the BSD license. You should read and accept the
11+
* LICENSE before you use, modify, and/or redistribute this software.
12+
*
13+
* @author Jeff Williams <a href="http://www.aspectsecurity.com">Aspect Security</a>
14+
* @created 2007
15+
*/
16+
package org.owasp.esapi.errors;
17+
18+
/**
19+
* An AccessControlException should be thrown when a user attempts to access a
20+
* resource that they are not authorized for.
21+
*
22+
* @author Jeff Williams ([email protected])
23+
*/
24+
public class AccessControlException extends EnterpriseSecurityException {
25+
26+
/** The Constant serialVersionUID. */
27+
private static final long serialVersionUID = 1L;
28+
29+
/**
30+
* Instantiates a new access control exception.
31+
*/
32+
protected AccessControlException() {
33+
// hidden
34+
}
35+
36+
/**
37+
* Creates a new instance of {@code AccessControlException}.
38+
*
39+
* @param userMessage
40+
* @param logMessage
41+
*/
42+
public AccessControlException(String userMessage, String logMessage) {
43+
super(userMessage, logMessage);
44+
}
45+
46+
/**
47+
* Instantiates a new access control exception.
48+
*
49+
* @param userMessage the message displayed to the user
50+
* @param logMessage the message logged
51+
* @param cause the root cause
52+
*/
53+
public AccessControlException(String userMessage, String logMessage, Throwable cause) {
54+
super(userMessage, logMessage, cause);
55+
}
56+
57+
}

0 commit comments

Comments
 (0)