- /**
- * Sets the currently logged in Sone.
- *
- * @param toadletContext
- * The toadlet context
- * @param sone
- * The Sone to set as currently logged in
- */
- protected void setCurrentSone(ToadletContext toadletContext, Sone sone) {
- webInterface.setCurrentSone(toadletContext, sone);
+ protected void setCurrentSone(@Nonnull ToadletContext toadletContext, @Nullable Sone sone) {
+ sessionProvider.setCurrentSone(toadletContext, sone);