This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-samples.git


    from 9c00a4f  fix(oauth): create directory if needed when generating 
encryption key
     new 59fc3a1  feat(oauth): add error handling
     new d633e02  fix(oauth): fix dependencies
     new e8a2111  feat(oauth): support clearing tokens for YouTube

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 oauth/core/pom.xml                                 |  6 +++
 .../org/apache/sling/samples/oauth_demo/Error.java |  1 +
 .../sling/samples/oauth_demo/ErrorDetail.java      |  4 +-
 .../sling/samples/oauth_demo/ErrorHolderModel.java | 36 ++++++++++++++
 .../InvalidAccessTokenException.java}              | 25 +++++-----
 .../oauth_demo/impl/YoutubeApiException.java       | 57 ++++++++--------------
 .../samples/oauth_demo/impl/YoutubeHttpClient.java | 11 ++++-
 .../oauth_demo/impl/YoutubeSearchServlet.java      |  7 +++
 oauth/pom.xml                                      |  2 +-
 oauth/ui.apps/Makefile                             |  2 +-
 .../src/main/content/META-INF/vault/filter.xml     |  4 ++
 .../servlet/errorhandler}/.content.xml             |  0
 .../errorhandler/OAuthCallbackException.html       | 20 ++++++++
 .../errorhandler/OAuthEntryPointException.html     | 20 ++++++++
 .../content/oauth-demo/static/css/output.css       | 19 ++++++++
 15 files changed, 162 insertions(+), 52 deletions(-)
 create mode 100644 
oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/ErrorHolderModel.java
 copy 
oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/{UserModel.java => 
impl/InvalidAccessTokenException.java} (64%)
 copy 
slingshot/src/main/java/org/apache/sling/sample/slingshot/comments/Comment.java 
=> 
oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/impl/YoutubeApiException.java
 (50%)
 copy oauth/ui.apps/src/main/content/jcr_root/apps/{oauth-demo/components => 
sling/servlet/errorhandler}/.content.xml (100%)
 create mode 100644 
oauth/ui.apps/src/main/content/jcr_root/apps/sling/servlet/errorhandler/OAuthCallbackException.html
 create mode 100644 
oauth/ui.apps/src/main/content/jcr_root/apps/sling/servlet/errorhandler/OAuthEntryPointException.html

Reply via email to