computeAuthentication(final Long, final Long) method

Syntax

AuthenticationMethodComputation computeAuthentication ( final Long authId , final Long actorId ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Returns

the result of the computation

Exceptions

Usage

Compute the authentication methods for the given authorisation transaction. This will return the methods for the payer and the payee. When this method returns, the given authentication methods will have been set and saved on the main

Transaction

.

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. 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.

the result of the computation