diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-03-31 22:35:43 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-03-31 22:35:43 -0700 |
commit | dcb9d839c9a30adc833af51e5c0f5a0df8175ce2 (patch) | |
tree | 523be788e99a196c0df64e11a06d831b64a38179 /src/com/p4square/grow/GrowProcessComponent.java | |
parent | adba5974bae4da0def1f13d47cfcf28a37e3cf7a (diff) |
Locking down restlet library version.20140331a
While trying to fix this issue, I also moved FMFacade into this package
and fixed a couple bugs that snuck into the last commit.
Diffstat (limited to 'src/com/p4square/grow/GrowProcessComponent.java')
-rw-r--r-- | src/com/p4square/grow/GrowProcessComponent.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/p4square/grow/GrowProcessComponent.java b/src/com/p4square/grow/GrowProcessComponent.java index eb92840..29da766 100644 --- a/src/com/p4square/grow/GrowProcessComponent.java +++ b/src/com/p4square/grow/GrowProcessComponent.java @@ -56,8 +56,8 @@ public class GrowProcessComponent extends Component { // Authenticated access to the backend BackendVerifier verifier = new BackendVerifier(backend.getUserRecordProvider()); - ChallengeAuthenticator auth = new ChallengeAuthenticator(getContext(), false, - ChallengeScheme.HTTP_BASIC, BACKEND_REALM, verifier); + ChallengeAuthenticator auth = new ChallengeAuthenticator(getContext().createChildContext(), + false, ChallengeScheme.HTTP_BASIC, BACKEND_REALM, verifier); auth.setNext(backend); getDefaultHost().attach("/backend", auth); } @@ -87,9 +87,6 @@ public class GrowProcessComponent extends Component { // Start the HTTP Server final GrowProcessComponent component = new GrowProcessComponent(); component.getServers().add(Protocol.HTTP, 8085); - component.getClients().add(Protocol.HTTP); - component.getClients().add(Protocol.HTTPS); - component.getClients().add(Protocol.FILE); //component.getClients().add(new Client(null, Arrays.asList(Protocol.HTTPS), "org.restlet.ext.httpclient.HttpClientHelper")); // Static content |