@Override
	public boolean assertAuthenticated(SocializeService service, SocializeSession session, SocializeListener listener) {
		if(session != null) {
			return true;
		}
		else {
			if(listener != null) {
				if(logger != null) {
					listener.onError(new SocializeException(logger.getMessage(SocializeLogger.NOT_AUTHENTICATED)));
				}
				else {
					listener.onError(new SocializeException("Not authenticated"));
				}
			}
			if(logger != null) logger.error(SocializeLogger.NOT_AUTHENTICATED);
		}
		return false;
	}
@Override
	public boolean assertAuthenticated(SocializeService service, SocializeSession session, SocializeListener listener) {
		if(session != null) {
			return true;
		}
		else {
			if(listener != null) {
				if(logger != null) {
					listener.onError(new SocializeException(logger.getMessage(SocializeLogger.NOT_AUTHENTICATED)));
				}
				else {
					listener.onError(new SocializeException("Not authenticated"));
				}
			}
			if(logger != null) logger.error(SocializeLogger.NOT_AUTHENTICATED);
		}
		return false;
	}
@ Override public boolean assertAuthenticated ( SocializeService service , SocializeSession session , SocializeListener listener ) { if ( session != null ) { return true ; } else { if ( listener != null ) { if ( logger != null ) { listener . onError ( new SocializeException ( logger . getMessage ( SocializeLogger . NOT_AUTHENTICATED ) ) ) ; } else { listener . onError ( new SocializeException ( "Not authenticated" ) ) ; } } if ( logger != null ) logger . error ( SocializeLogger . NOT_AUTHENTICATED ) ; } return false ; }
/* (non-Javadoc)
@see com.socialize.init.SocializeInitializationAsserter#assertAuthenticated(com.socialize.api.SocializeSession, com.socialize.listener.SocializeListener)
/ * ( non - Javadoc )