}
@Override
public SignOutResult execImpl(SignOut a, ExecutionContext ec) {
ICoreSessionService sessionService = sessionServicesProvider.get();
AuthSession authSession = sessionService.get();
String alternateRedirectUrl = null;
SignOutResult result = new SignOutResult();
if (a.isSignOutOfApp()) {
if (authSession == null) {
Logger.warn("Requested to log out of app when not logged in");
}
else {
sessionService.close(authSession);
}
}
if (a.isSignOutOfExternalService()) {
String authServiceName = null;