18 Feb, 2015
2 commits
-
In order to match the classname to test, I rename the class FunctionTest to FunctionsTest. git-svn-id: https://svn.forgerock.org/openig/trunk@901 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This patch adds a handler to generate a DES key. By using the handler, the reader can avoid the convoluted steps for generating a key with OpenAM. Applied review suggestions from Guillaume git-svn-id: https://svn.forgerock.org/openig/trunk@900 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Feb, 2015
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@899 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Add a convenient method to evaluate an Expression that do not require any scope. git-svn-id: https://svn.forgerock.org/openig/trunk@898 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The type of an Expression is now given at the creation time, which means we do not provide it anymore for the evaluation. Furthermore, it helps the developper as it knows the expected type of an Expression. git-svn-id: https://svn.forgerock.org/openig/trunk@897 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 Feb, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@896 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
12 Feb, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@895 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
09 Feb, 2015
7 commits
-
`HttpClient` is closing the `exchange.response` object before executing the request. When the `OAuth2ClientFilter` populates the `user_info` attribute (requesting user's profile on the AS), or communicate with the AS, it reuses the `Exchange`, change the request object, but keep the response reference. So, when the modified exchange goes through `HttpClient`, any existing response gets emptied. This fix simply nullify the `exchange.response` reference *before* sending that to the AS. That prevents `HttpClient` to cleanup the response too eagerly. git-svn-id: https://svn.forgerock.org/openig/trunk@891 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@890 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@889 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@888 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@887 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@886 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@885 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Feb, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@883 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@882 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 Feb, 2015
5 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@880 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@879 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The correct way to handle the \\ in the JUEL expressions is to write it like that : ${'\\\\'}. git-svn-id: https://svn.forgerock.org/openig/trunk@878 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
git-svn-id: https://svn.forgerock.org/openig/trunk@877 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@876 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Feb, 2015
7 commits
-
This tests was expecting a NPE that was thrown by `new StringReader()`. We were never going into the `readJson()` method... git-svn-id: https://svn.forgerock.org/openig/trunk@874 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@873 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The soon-to-come Http framework needs a subset of the features provided by `Json`: only what is related to JSON parsing/writing. Everything else is related to `JsonValue` or more OpenIG specific types like `Heap`, `Expression`, ... So this is just a simple split, we now have: * `Json`: JSON parsing * `JsonValues`: OpenIG-related code git-svn-id: https://svn.forgerock.org/openig/trunk@872 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Created a new class in utils for the StandardCharsets. When we will move to java 7, we just need to remove this file and update the package names to java.nio.charset.StandardCharsets. git-svn-id: https://svn.forgerock.org/openig/trunk@871 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@870 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@869 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@868 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
29 Jan, 2015
3 commits
-
if doable, the expression string input. As OPENIG-394 introduces the original string used in Expression, we are now able to have more explicit error messages. - 'Standardized' all expressions error messages. git-svn-id: https://svn.forgerock.org/openig/trunk@865 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@864 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@863 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
27 Jan, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@859 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
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