23 Jan, 2015
5 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@854 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@853 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@852 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@851 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@850 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
22 Jan, 2015
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@845 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@844 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
As the URI rebasing is done at different places in the code we'd like to have a BaseUriHandler/Filter in order to factor out the code. Following the same scheme as the "Timer" decorator, the "baseURI" decorator is created by default in the Gateway Servlet. (Named "baseUri" and created at startup time in the top-level heap.) * GatewayServlet.class, Route.class The creation of the "baseUri" decorator means the attribute class 'baseURI' is no longer needed as the URI rebasing is now directly done by the decorator. In the other hand, the heap initialization performed within both class constructors, contained a list of reservedFieldNames where the 'baseURI'was present. It has been removed from there as it is now a global decorator. * RouteTest.java Removed unit test 'testRouteIsRebasingTheRequestUri'(Duplicated in the RouteBuilder test, and the RouteBuilder has the responsability to apply decorators). git-svn-id: https://svn.forgerock.org/openig/trunk@843 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
20 Jan, 2015
1 commit
-
The previous commit introduced a regression, especially for GET messages being sent with an empty entity where they should have no entity at all. They were being falsely detected as messages with content because we were comparing `EMPTY_STREAM` with `Entity.head` (the branched content) instead of the `Entity.trunk` (`head` being re-created every time OpenIG tries to read the content, so in the `HttpBasicAuthFilter` for example, we push the Entity, then delegates to the next handler in chain, so when message is sent, the `head` is != from the `trunk` and cannot be == to `EMPTY_STREAM`) I could not reliably reproduce that in a unit test with a real HTTP Server because the failure also need the HTTPClient to re-use the same connection for 2 consecutive messages. Thus, I only added a small `Entity` unit test to make sure that `Entity.mayContainData()` behave correct even when the entity is pushed/popped. git-svn-id: https://svn.forgerock.org/openig/trunk@838 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
19 Jan, 2015
3 commits
-
IDE Eclipse divided by two the spaces length when special chars are used in the line. I choose to trust the IDE instead of checkstyle and diff, my mistake. Output is fine with IntelliJ. Looks like a bug in eclipse. git-svn-id: https://svn.forgerock.org/openig/trunk@837 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
CR-5814 OPENIG-438 Document Expression plugins Respond to review comments from Guillaume. git-svn-id: https://svn.forgerock.org/openig/trunk@836 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Added unit tests for unicode usage. git-svn-id: https://svn.forgerock.org/openig/trunk@835 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
16 Jan, 2015
5 commits
-
The toString() method is now implemented and tested. We also decide to replace Expression constructor by a more conventional valueOf(...) factory method. A new Expression is now created by Expression exp = Expression.valueOf(<Expression string>); git-svn-id: https://svn.forgerock.org/openig/trunk@834 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The `Entity.isEmpty()` method relied on `InputStream.available()` returning something different of `0` (zero) to detect if the entity was empty or not. This technic is not reliable enough since the javadoc clearly states that this return the number of bytes that can be read **without blocking**, that means that the result of this method depends on the network (and to some extension to the web container), not entirely on the message. The idea here is to now check if the wrapped stream is the `EMPTY_STREAM` instance to detect if the entity is empty or not. This is better than the old solution because we don't rely anymore on an external `InputStream` implementation, but that will not detect a user provided stream with no data inside. This is why `isEmpty()` has been renamed to `mayContainData()`. There is also a new `setEmpty()` method to mark the entity as empty (simply assign `EMPTY_STREAM` to the wrapped stram field). git-svn-id: https://svn.forgerock.org/openig/trunk@833 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@832 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@831 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@830 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
15 Jan, 2015
4 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@826 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The next version of OpenIG will be the 4.0.0 . git-svn-id: https://svn.forgerock.org/openig/trunk@825 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@824 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@823 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
14 Jan, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@822 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 Jan, 2015
5 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@821 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@820 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
That introduced an invalid behaviour: loosing the original header information that would be useful for the end server to generate messages with an appropriate contextual information. Reverted r766 & r767 git-svn-id: https://svn.forgerock.org/openig/trunk@819 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Fixed ordering of imports * Removal of {@inheritDoc} (@Override is sufficient for checkstyle and javadoc to be happy) * Renamed static final field 'plugins' to 'PLUGINS' to have checkstyle happy git-svn-id: https://svn.forgerock.org/openig/trunk@818 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
git-svn-id: https://svn.forgerock.org/openig/trunk@817 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Dec, 2014
3 commits
-
Thanks, Guillaume. git-svn-id: https://svn.forgerock.org/openig/trunk@815 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@814 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@813 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
12 Dec, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@807 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
10 Dec, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@805 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Dec, 2014
1 commit
-
Recent Google OAuth 2.0 update is breaking the OAuth 2.0 Client Filter by having the `expires_in` attribute of the access token response expressed as a String instead of a JSON Number. We're now doing the adaptation in OpenIG and deal with the String case by hand. git-svn-id: https://svn.forgerock.org/openig/trunk@801 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Dec, 2014
7 commits
-
Activate binary license integration in the `opening-war` module (our distributable artifact). git-svn-id: https://svn.forgerock.org/openig/trunk@797 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
As the web application does not include the documentation (which is the only component under CC license), we should not include that license text into the archive. git-svn-id: https://svn.forgerock.org/openig/trunk@796 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@792 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@791 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@790 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@787 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This patch to trunk removes information pertaining to the 3.1 branch, though it retains the list of deprecated items for readers coming to nightly builds from 3.0.x. git-svn-id: https://svn.forgerock.org/openig/trunk@786 dbb9e58e-28e6-4ce0-90e8-f11d9605b710