Original commit message

ChangeScribe message

Handle exceptions while fetching access token by redirecting to the connection status page

BUG - FEATURE: <type-ID>


This is a degenerate modifier commit: this change set is composed of empty, incidental, and abstract methods. These methods indicate that a new feature is planned. This change set is mainly composed of:


1. Changes to package org.springframework.social.connect.web:


1.1. Modifications to ConnectController.java:


1.1.1. Add try statement at oauth1Callback(String,NativeWebRequest) method

1.1.2. Add catch clause at oauth1Callback(String,NativeWebRequest) method

1.1.3. Add method invocation to method warn of logger object at oauth1Callback(String,NativeWebRequest) method


2. Changes to package org.springframework.social.connect.web.test:


2.1. Add a ConnectionRepository implementation for stub connection repository. It allows to:


Find all connections;

Find connections;

Find connections to users;

Get connection;

Get primary connection;

Find primary connection;

Add connection;

Update connection;

Remove connections;

Remove connection


Referenced by:

ConnectControllerTest class