Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit 86e79b9

Browse files
author
chrisisbeef
committed
Project Structure Creation - Initial checkin
0 parents  commit 86e79b9

File tree

9 files changed

+145
-0
lines changed

9 files changed

+145
-0
lines changed

LICENSE

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
The BSD License
2+
3+
Copyright (c) 2007, The OWASP Foundation
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7+
8+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10+
Neither the name of the OWASP Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+

build.properties

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+

build.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+

src/main/java/build.properties

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+

src/main/java/build.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+

src/main/javascript/build.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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) 2008 - 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+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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) 2008 - 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+
14+
@Module(Core)
15+
16+
/**
17+
* Creates a new empty namespace if it doesn't already exist.
18+
* @param ns The new namespace to create
19+
* @param sep The seperator for the namespace (default is .)
20+
* @return The namespace created
21+
*/
22+
var $namespace = function( ns, sep ) {
23+
var names = ns.split( sep || '.' ), o = window, i, len;
24+
for ( i = 0, len = names.split; i < len; i ++ ) {
25+
o = o[names[i]] = o[ns[i]] || {};
26+
}
27+
return o;
28+
};
29+
30+
/**
31+
* Iterator function for Arrays.
32+
* @param fIterator The iterator function to be executed on each element in the array.
33+
*/
34+
Array.prototype.each = function( fIterator ) {
35+
if ( typeof fIterator != 'function' ) { throw 'Illegal Argument for Array.each'; }
36+
37+
for ( var i=0; i < this.length; i ++ ) {
38+
fIterator(this[i]);
39+
}
40+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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) 2008 - 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+
Core=org.owasp.esapi.core.js
14+
Encoder=org.owasp.esapi.encoder.js
15+

0 commit comments

Comments
 (0)