continueAuthentication(final ITransaction, final ITransactionCredential, final CallerInformation, final IAuthenticationContinueResponse) method

Syntax

ContinueParams continueAuthentication ( final ITransaction referencedTxn , final ITransactionCredential credential , final CallerInformation actor , final IAuthenticationContinueResponse response ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Returns

a ContinueParams object containing the authentication id and the details of the main Transaction

Exceptions

Usage

Continue the authentication for the given transaction. This is required if a transaction has been paused and is waiting for authentication credentials to be continued.

Notes on transactional semantics:

If a business logic exception occurs, a

MobiliserServiceException

will be thrown and the

Authorisation

will be marked with the error code from the exception and the database transaction committed. If the

MobiliserServiceException#getErrorCode()

is anything

other

than

StatusCodes#ERROR_AUTHENTICATION_INVALID_CREDENTIALS

, the main

Transaction

will additionally be marked as failed. Any other exception will trigger a rollback of the database transaction followed by a fresh transaction inside of which the

Authorisation

transaction will be marked with an error code.

a ContinueParams object containing the authentication id and the details of the main Transaction