06 Jun, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@251 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@250 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Jun, 2014
7 commits
-
- Fixed javadoc/checkstyle. git-svn-id: https://svn.forgerock.org/openig/trunk@247 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
- Trivial code cleanup. git-svn-id: https://svn.forgerock.org/openig/trunk@246 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@245 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@244 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@243 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@242 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@241 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 Jun, 2014
3 commits
-
* Introduced setter, made public fields private git-svn-id: https://svn.forgerock.org/openig/trunk@240 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@239 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Introduced a WriterProvider abstraction to make testing easier (independent of any File system interactions) * No changes from a configuration file POV git-svn-id: https://svn.forgerock.org/openig/trunk@238 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
02 Jun, 2014
4 commits
-
* Added discarded Pattern test git-svn-id: https://svn.forgerock.org/openig/trunk@233 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@232 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@231 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@230 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
27 May, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@224 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* Removes dependency on commons-codec * Reuse Base64 from forgerock-util git-svn-id: https://svn.forgerock.org/openig/trunk@221 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
23 May, 2014
1 commit
-
* Changed protected field to private fields * Introduced getters and setters to make it possible to configure them in the unit tests * Added missing javadoc git-svn-id: https://svn.forgerock.org/openig/trunk@200 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
22 May, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@194 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@191 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
- Increased data encapsulation on classes of this package. => HttpClient.java && CaptureFilter.java modified as well. - Small code cleanup. git-svn-id: https://svn.forgerock.org/openig/trunk@189 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
21 May, 2014
1 commit
-
- Added unit tests for the ConnectionHeader. - Fixed CookieHeaderTest, LocationHeaderTest. - Small code cleanup. ** ConnectionHeader.java - Added getter to tokens => Modified HttpClient.java. git-svn-id: https://svn.forgerock.org/openig/trunk@188 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
20 May, 2014
1 commit
-
** CookieHeader.java, Header.java, LocationHeader.java - Fixed javadoc comments (typo) - Trivial code cleanup (autorefactor ;) ) - Added getter to LocationHeader. - Added getter to CookieHeader => Modified RequestCookies. ** Units tests : CookieHeaderTest, LocationHeaderTest - As suggested per Guillaume, modified assertions on the cookie header unit tests. - Added unit tests to LocationHeader. git-svn-id: https://svn.forgerock.org/openig/trunk@185 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
19 May, 2014
2 commits
-
* Fixed a couple of copyright headers referencing ForgeRock Inc instead of ForgeRock AS. * Avoid _ (underscore) in variable names git-svn-id: https://svn.forgerock.org/openig/trunk@184 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
- Fixed OPENIG-122 (required by tests) git-svn-id: https://svn.forgerock.org/openig/trunk@183 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
15 May, 2014
1 commit
-
* Removed all @author tags * Fixed trailing lines, too long lines, unchecked exceptions * Fixed indent errors * Fixed some javadoc errors (wrong html tags, ...) * Updated some copyright header that were badly formatted * Added some private default constructors and made some utility class 'final' * Fixed all errors in test classes git-svn-id: https://svn.forgerock.org/openig/trunk@179 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
22 Apr, 2014
1 commit
-
…ers and ScriptableHandlers git-svn-id: https://svn.forgerock.org/openig/trunk@172 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
16 Apr, 2014
3 commits
-
* use GroovyScriptEngine for its dynamic reloading capabilities * use a bootstrap Groovy script to add meta-class information to the engine (accidentally committed in r169) * custom Groovy scripts should be located in ".openig/scripts/groovy". git-svn-id: https://svn.forgerock.org/openig/trunk@171 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* introduced Environment class which encapsulates information regarding the application's installation directory, etc. It is exposed on the heap as "Environment" so that other heaplets (such as scripting) can determine path names such as script class paths * removed vendor name from configuration paths and lowercased the product name. The configuration root is now in ".openig" instead of ".ForgeRock/OpenIG" * moved the configuration file into the "config" sub-folder, e.g. ".openig/config/config.json". The same goes for the bootstrap configuration as well. This will be useful when installing as standalone package because it is important to separate mutable configuration files from installed files. git-svn-id: https://svn.forgerock.org/openig/trunk@170 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@169 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
10 Apr, 2014
2 commits
-
* see issue for more details * factored out script compilation to Scripts class to make migration to commons scripting a little easier * at the moment scripts specified using relative path names will be located based on the application's current working directory, rather than the instance root. This will be addressed in OPENIG-72. git-svn-id: https://svn.forgerock.org/openig/trunk@166 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
* rename GroovyScriptFilter -> ScriptableFilter * rename GroovyScriptHandler -> ScriptableHandler * add Heaplet aliases to JsonValueUtil. git-svn-id: https://svn.forgerock.org/openig/trunk@165 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
09 Apr, 2014
1 commit
-
Fix support for assignment of multivalued LDAP attributes. git-svn-id: https://svn.forgerock.org/openig/trunk@163 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Apr, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@162 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
26 Mar, 2014
2 commits
-
* provide the ability to easily set attributes in entries. git-svn-id: https://svn.forgerock.org/openig/trunk@153 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Provided global variable "ldap" which provides simple access to OpenDJ LDAP SDK including: * ldap.connect(host, port) - obtains cached connection to host/port (no SSL) * ldap.connect(host, port, options) - obtains cached connection to host/port (with optional SSL) * ldap.dn(template, args...) - injection safe printf style formatting of DNs * ldap.filter(template, args...) - injection safe printf style formatting of filters * ldap.scope.* - easy access to LDAP search scopes, e.g. ldap.scope.sub. The connect methods return an adapted SDK LDAP connection which only exposes the synchronous methods. This is to protect against future evolution of the SDK APIs (e.g. we plan to migrate to using Promises). In addition, the Groovy scripting engine has been enhanced using Groovy MetaClasses to facilitate access to LDAP Entry attributes, which are now exposed as properties. For example, the following code parses the "description" attribute as a single valued string: entry.description.parse().asString() The testLdapClient unit test in GroovyScriptFilterTest illustrates LDAP usage. git-svn-id: https://svn.forgerock.org/openig/trunk@152 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