openbase / bco.dal

Domotic Abstraction Layer
Other
1 stars 2 forks source link

Implement bco session key recovery #122

Closed DivineThreepwood closed 5 years ago

DivineThreepwood commented 6 years ago

The session manager on remote applications should request a new session key in case the controller instance was restarted. Since the remote call exception stack is fully recovered this feature can be implemented by just handling the authentication exceptions.

Please use ExceptionProcessor.getInitialCause(final Throwable throwable) to detect the initial cause of a RPC exception.

pLeminoq commented 5 years ago

Has been implemented with the ReLoginFuture.