26 Mar, 2014
1 commit
-
* added out of the box support for using the OpenDJ LDAP SDK * added unit test illustrating usage from within Groovy. A subsequent commit will improve the integration in order to reduce boilerplate and to cache connections between script invocations. git-svn-id: https://svn.forgerock.org/openig/trunk@151 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
07 Mar, 2014
2 commits
-
Filters and handlers support a single standalone Groovy script. At the moment the script is not automatically reloaded. The following variables are injected into each script invocation: * globals - a Map of global variables which persist across successive invocations of the script * exchange - the HTTP exchange * http - an OpenIG HTTP client which may be used for performing outbound HTTP requests * logger - the OpenIG logger * next - the next handler in the filter chain (filters only). Many examples showing how Groovy scripts can interact with OpenIG can be found in GroovyScriptFilterTest. git-svn-id: https://svn.forgerock.org/openig/trunk@150 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@149 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@148 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
28 Feb, 2014
2 commits
-
Add basic preliminary support for Groovy scriptable filters and handlers. Uses JSR-223 for now, but plan to move to our commons scripting module when it's ready. Scripts can read and write exchange fields, except for the entity. git-svn-id: https://svn.forgerock.org/openig/trunk@147 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
"If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck." But Ducks are fat and we don't want lots of excess fat in our code base so, since we are not duck collectors, let's go shoot some duck. :-) Seriously: OpenIG uses duck-typing to provide map-like views of various objects. JSR 223 implementations, such as for Groovy, provide automatic support for bean-like objects and maps. In particular, bean getters/setters and map key/value pairs are automatically mapped to properties in Groovy scripts. This makes scripting really easy and developer friendly. Unfortunately, the support does not extend to our duck-typed objects, which are neither beans or maps. I was unable to see why duck-typing is needed in OpenIG, other than to avoid implementing a couple of awkward map view methods (e.g. entrySet), but they bring their own complexity. For example, many engineers find the duck-type support hard to understand and maintain. git-svn-id: https://svn.forgerock.org/openig/trunk@146 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
20 Feb, 2014
1 commit
-
* remove unused imports * fixed various compilation warnings. git-svn-id: https://svn.forgerock.org/openig/trunk@144 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
07 Feb, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@143 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 Oct, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@134 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
10 Sep, 2013
1 commit
-
Merge changes made to 2.1.1 branch but not brought into trunk at the time. openig/2.1.1 $ svn log -r90 ------------------------------------------------------------------------ r90 | jbranch | 2012-08-09 10:05:35 -0700 (Thu, 09 Aug 2012) | 1 line svn merge https://svn.forgerock.org/openig/branches/2.1.1@90 . --- Merging r89 through r90 into '.': U openig-core/src/test/java/org/forgerock/openig/el/ExpressionTest.java A openig-core/src/test/java/org/forgerock/openig/filter/HttpBasicAuthFilterTest.java A openig-core/src/test/java/org/forgerock/openig/filter/HeaderFilterTest.java U openig-core/src/main/java/org/forgerock/openig/filter/HeaderFilter.java U openig-core/src/main/java/org/forgerock/openig/el/Expression.java G openig-core/pom.xml U . git-svn-id: https://svn.forgerock.org/openig/trunk@133 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
16 Aug, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@131 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@125 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
18 Dec, 2012
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@117 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Dec, 2012
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@116 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@115 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
28 Nov, 2012
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@112 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
11 Nov, 2012
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@105 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
08 Nov, 2012
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@104 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@103 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 Dec, 2011
2 commits
-
Migrate some classes into org.forgerock.util package. git-svn-id: https://svn.forgerock.org/openig/trunk@12 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@11 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
19 Nov, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@10 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@8 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 Nov, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@7 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 Oct, 2011
1 commit
-
Rename package structure. Use JSON Fluent library. Bug fixes. git-svn-id: https://svn.forgerock.org/openig/trunk@2 dbb9e58e-28e6-4ce0-90e8-f11d9605b710