Joakim Erdfelt
6597ef2862
Fixes for test failures
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1188 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 23:52:11 +00:00
Joakim Erdfelt
1090bd1ae4
Tweaking basedir
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1187 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 22:24:32 +00:00
Joakim Erdfelt
830d8691f6
Tweaking basedir usage to be by File.toURI() not by File.getAbsolutePath(), which causes problems with paths with spaces
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1186 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 19:32:39 +00:00
Joakim Erdfelt
509d5f6608
Adding some debug to test case that is failing
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1185 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 17:30:24 +00:00
Jesse McConnell
bbbf5d7503
bugzilla 293506 - resolve double locking mechanism and address violation in getPermissions that jmx tickles.
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1017 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-29 18:16:10 +00:00
Jesse McConnell
1dd4d93527
289145 reload functionality to jetty policy an remove refresh() calls from constructor
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@860 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 19:52:16 +00:00
Joakim Erdfelt
db1479e571
Merging from revision 787:HEAD on /branches/jetty-7.0.1/ to /trunk/
...
* Bumping up version to 7.0.1-SNAPSHOT
* Adding jetty-webapp-verifier from /sandbox/
* Changes to jetty-webapp for jetty-centralized-logging from /sandbox/
* Fixes to jetty-policy to support jetty-webapp-verifier
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@835 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-08 20:31:00 +00:00
Jesse McConnell
d61fdf343e
added in example of file read/write demo
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@757 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-24 22:42:13 +00:00
Jesse McConnell
1bffa7e0ca
Adding secureMode servlet checker to demo and the granting permissions to jetty.policy file
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@756 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-24 17:19:59 +00:00
Jesse McConnell
3bdbb963e1
working policy file reload
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@751 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-20 22:26:59 +00:00
Jesse McConnell
196440fb55
update defaults
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@748 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-20 19:56:20 +00:00
Jesse McConnell
98060d4568
implemented caching and improved reloading and ability to debug the ailing reloading process
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@742 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-18 22:16:25 +00:00
Greg Wilkins
dc7addfbbf
fixed locations
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@735 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-18 01:24:35 +00:00
Jesse McConnell
8e7032aa42
update perm to get test working
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@732 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-17 23:58:10 +00:00
Greg Wilkins
2097eac0d9
286242 Ported jetty-setuid from jetty-6
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@730 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-17 23:03:00 +00:00
Jesse McConnell
e61b234755
committing some synchronization and comments to policy
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@725 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-14 20:31:46 +00:00
Jesse McConnell
9aaed4a261
committing some synchronization and comments to policy
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@724 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-14 19:01:52 +00:00
Jesse McConnell
bcc8a456fc
add in debugging for jettyPolicy that outputs to system.out since normal logging is not appropriate for this sort of goop
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@723 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-14 17:55:35 +00:00
Jesse McConnell
5bc91e048b
remove comment
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@719 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 19:51:06 +00:00
Jesse McConnell
9f6c181576
format policy file
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@716 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 19:46:54 +00:00
Jesse McConnell
a1ba09dc2c
remove foo.DEBUG property
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@715 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 19:44:43 +00:00
Jesse McConnell
42016bd3f1
update the jetty.policy
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@714 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 19:20:26 +00:00
Jesse McConnell
ffcf3070d6
fix major xdomain permission pollution across protection domains
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@708 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 03:41:52 +00:00
Greg Wilkins
50fc3906aa
Added discoverable start options
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@707 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 01:30:40 +00:00
Jesse McConnell
57f6fcb62c
add dump method
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@697 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 18:01:16 +00:00
Joakim Erdfelt
8b50f2e543
Testing updates.
...
* Fixing MavenTestingUtils.toTargetURL() mistake.
* Moving phase from generate-resources to generate-test-resources
* Fixing testing flow in JettyPolicyRuntimeTest
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@695 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 17:38:45 +00:00
Jesse McConnell
735454017b
convert to new file loc
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@694 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 17:24:05 +00:00
Joakim Erdfelt
a110bdd845
Beefing up unit tests. minor cleanup.
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@693 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 17:17:55 +00:00
Jesse McConnell
299b5551bd
jetty policy test renaming
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@692 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 16:52:59 +00:00
Jesse McConnell
b559f19527
fix up the test-policy
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@691 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 16:42:14 +00:00
Jesse McConnell
a9ed6dda62
fix up some , errors that the JettyPolicy mechanism handles but fail the typical sun.security policy parser
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@674 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-11 00:05:03 +00:00
Jesse McConnell
b8296674ff
[BUG 283172] fix build on windows in short term
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@545 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-10 22:46:06 +00:00
Jesse McConnell
8ae34f3621
[BUG 283172] fix build on windows in short term
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@544 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-10 22:41:19 +00:00
Jesse McConnell
b8d470dedb
[BUG 283172] fix build on windows
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@542 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-10 20:54:31 +00:00
Jesse McConnell
3fbe8fd2d4
/ should be ${/} for all none codeBase strings
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@504 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-08 21:00:56 +00:00
Jesse McConnell
a41fc6a16b
setProperties() needs to putAll not replace underlying map
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@503 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-08 20:56:25 +00:00
Jesse McConnell
7c30592582
remove debug info
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@501 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-08 19:44:55 +00:00
Jesse McConnell
1612cbc9be
fix property expansion for small expansions and add support back in for '/' expansion as per spec
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@499 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-08 19:41:40 +00:00
Jesse McConnell
47be173375
fix path issue with unit tests and toolchain artifact that I released.
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@481 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-06 03:44:33 +00:00
Greg Wilkins
69dcb996ae
minor cleanups and temp fixes
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@480 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-06 02:43:26 +00:00
Jesse McConnell
2662001e73
[BUG-27751] rename some classes
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@451 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 22:03:55 +00:00
Jesse McConnell
8db5f0f272
[BUG-27751] organize imports and 1.5 up a test case
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@450 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 21:54:43 +00:00
Jesse McConnell
8762b4c816
[BUG-27751] fix up test case from missing class
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@449 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 21:38:32 +00:00
Jesse McConnell
54414938a6
[BUG-27751] update headers and remove extra file
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@448 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 21:34:46 +00:00
Jesse McConnell
639d9712bc
[BUG-27751] refactor property evaluator into PolicyContext and add support for resolving special cases ${{self}} and ${{alias:data}}
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@447 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 21:23:49 +00:00
Jesse McConnell
1d13e96704
refactored policy parsing for clarity and to decompose the more complex resolveFoo mechanic
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@443 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-30 04:15:01 +00:00
Jesse McConnell
62ff473a50
Certificate and Principal support basically added in with a mess of jury rigging to get basic unit tests running and showing that things are functional. Need to refactor the Policy loading/Policy object interactions some more as I am not sure how reliable the creation of the ProtectionDomain is in the current state and I am not happy with the way the loader looks atm. First things first will be to further flesh out unit tests to validate correct funtionality in more scenarios.
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@435 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-25 21:00:56 +00:00
Jesse McConnell
370604fe76
added basic certificate support
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@416 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-17 20:23:30 +00:00
Jesse McConnell
d9ae6b7e41
[BUG-277551] updating policy file now that we have a separation between start.jar and the rest of jetty
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@387 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-12 22:11:48 +00:00
Jesse McConnell
d5b4e38f38
remove system printout
...
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@370 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-11 19:48:42 +00:00