30 Apr, 2015

1 commit


24 Apr, 2015

1 commit

  • This patch updates the examples in the documentation
    so that they are all routes and can be used at the same time.
    
    Some examples still require additional configuration.
    
    This patch also updates the sample doc server
    for use with the revised examples.
    
    This patch also adds support for authentication with headers,
    as shown in the following example:
    
    $ curl \
     --request POST \
     --header "username: bjensen" \
     --header "password: hifalutin" \
     http://localhost:8081/
    
    This capability is not yet used in the docs,
    but in review we found it could be useful for QA.
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@980 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     

17 Apr, 2015

2 commits


23 Mar, 2015

1 commit


11 Mar, 2015

1 commit

  • This patch updates docs to account for the new OAuth2Provider.
    
    Apply review suggestions from Violette.
    
    Apply review suggestions from Jean-Charles.
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@915 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     

24 Feb, 2015

3 commits


23 Feb, 2015

1 commit


19 Feb, 2015

1 commit


18 Feb, 2015

1 commit

  • 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
    mark
     

13 Feb, 2015

1 commit


12 Feb, 2015

1 commit


05 Feb, 2015

2 commits


04 Feb, 2015

1 commit


29 Jan, 2015

2 commits


23 Jan, 2015

2 commits


19 Jan, 2015

1 commit


16 Jan, 2015

1 commit


15 Jan, 2015

1 commit


14 Jan, 2015

1 commit


17 Dec, 2014

3 commits

  • Thanks, Guillaume.
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@815 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@814 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@813 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     

12 Dec, 2014

1 commit


10 Dec, 2014

1 commit


05 Dec, 2014

5 commits

  • git-svn-id: https://svn.forgerock.org/openig/trunk@792 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@791 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@790 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@787 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • 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
    mark
     

03 Dec, 2014

2 commits


02 Dec, 2014

3 commits

  • Reviewed onscreen by Jean-Charles.
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@776 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • `ConsoleLogSink` is now rendering each `LogEntry` on 2 lines with a line separator
    between entries, the objective being to improve console log readability. The first line
    is the header line and display the timestamp of the event (in the current system Locale),
    the entry's `LogLevel` and ends with the `Name` (leaf part) of the heap object that is
    the source of the log statement.
    
    ```
    MON DEC 01 20:39:16 CET 2014 (INFO) _Router
    Added route 'oauth2-resources.json' defined in file '/Users/guillaume/tmp/demo/config/routes/oauth2-resources.json'
    ------------------------------
    ```
    
    Notice that a special treatment is done when logging a `Throwable`: a condensed stack
    trace is printed on the console and if (and only if) the `LogSink` has been assigned
    a `DEBUG` or `TRACE` level, the full stack trace is printed (independently of the
    entry's level).
    
    ```
    MON DEC 01 15:28:10 CET 2014 (DEBUG) ResourceServer
    Initial token resolution has failed
    [     OAuth2TokenException] > Initial token resolution has failed
    [     OAuth2TokenException] > Authorization Server returned an error
                                  (error: bad_request, description: Could not read token in CTS)
    
    org.forgerock.openig.filter.oauth2.OAuth2TokenException: Initial token resolution has failed
      at org.forgerock.openig.filter.oauth2.cache.CachingAccessTokenResolver.resolve(CachingAccessTokenResolver.java:62)
    ... 33 more
    ------------------------------
    ```
    
    A new `stream` property has been added to `ConsoleLogSink` to let the user choose
    which PrintStream to use for printing messages:
     * `ERR`: Use System.err (default value, keep compatibility)
     * `OUT`: Use System.out
     * `AUTO`: Select System.out for `TRACE` to `INFO` messages, switching to System.err
       for `WARNING` and `ERROR`.
    
    `FileLogSink` implements a machine parseable `LogEntry` rendering: each entry is on
    one line and includes:
     * timestamp of the event (in the current system Locale), always have the same length
     * the entry's `LogLevel`, always 1 word, uppercase
     * the `Name` (leaf part) of the heap object that is the source of the log statement.
     * a `---` separator that segregates the beginning of the line (log statement's context)
       from the entry's message (the rest of the line)
    
    Notice that in the case of `Throwable` printing, the full stack trace is printed as commented lines.
    
    ```
    MON DEC 01 17:46:21 CET 2014 DEBUG ResourceServer --- Initial token resolution has failed
     # org.forgerock.openig.filter.oauth2.OAuth2TokenException: Initial token resolution has failed
     # 	at org.forgerock.openig.filter.oauth2.cache.CachingAccessTokenResolver.resolve(CachingAccessTokenResolver.java:62)
     # 	at org.forgerock.openig.filter.oauth2.OAuth2ResourceServerFilter.filter(OAuth2ResourceServerFilter.java:205)
     # 	at org.forgerock.openig.decoration.capture.CaptureFilter.filter(CaptureFilter.java:62)
    ```
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@771 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    guillaume.sauthier
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@770 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark